parent
8d7d7962cb
commit
edd83a7cb1
@ -1,19 +1,66 @@
|
|||||||
diff -up chromium-112.0.5615.49/components/feed/core/v2/protocol_translator.cc.me chromium-112.0.5615.49/components/feed/core/v2/protocol_translator.cc
|
Split out ios shared feed protos
|
||||||
--- chromium-112.0.5615.49/components/feed/core/v2/protocol_translator.cc.me 2023-03-31 20:33:32.129658455 +0200
|
|
||||||
+++ chromium-112.0.5615.49/components/feed/core/v2/protocol_translator.cc 2023-03-31 20:41:19.593822038 +0200
|
chrome_feed_response_metadata.proto is needed in ios so split it out
|
||||||
@@ -10,7 +10,6 @@
|
so it can be separately compiled into ios.
|
||||||
#include "base/logging.h"
|
|
||||||
#include "base/time/time.h"
|
Change-Id: I9e5e50f5e1742258f5c8197d54f0c610b56daf4b
|
||||||
#include "components/feed/core/proto/v2/packing.pb.h"
|
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4266050
|
||||||
-#include "components/feed/core/proto/v2/wire/chrome_feed_response_metadata.pb.h"
|
Commit-Queue: edchin <edchin@google.com>
|
||||||
#include "components/feed/core/proto/v2/wire/data_operation.pb.h"
|
Reviewed-by: Dan H <harringtond@chromium.org>
|
||||||
#include "components/feed/core/proto/v2/wire/feature.pb.h"
|
Cr-Commit-Position: refs/heads/main@{#1107357}
|
||||||
#include "components/feed/core/proto/v2/wire/feed_response.pb.h"
|
diff --git a/components/feed/core/proto/BUILD.gn b/components/feed/core/proto/BUILD.gn
|
||||||
@@ -19,7 +18,6 @@
|
index 51916e08..f0ec531 100644
|
||||||
#include "components/feed/core/proto/v2/wire/stream_structure.pb.h"
|
--- a/components/feed/core/proto/BUILD.gn
|
||||||
#include "components/feed/core/proto/v2/wire/token.pb.h"
|
+++ b/components/feed/core/proto/BUILD.gn
|
||||||
#include "components/feed/core/v2/feedstore_util.h"
|
@@ -22,7 +22,6 @@
|
||||||
-#include "components/feed/core/v2/ios_shared_experiments_translator.h"
|
"v2/wire/capabilities_debug_data.proto",
|
||||||
#include "components/feed/core/v2/metrics_reporter.h"
|
"v2/wire/capability.proto",
|
||||||
#include "components/feed/core/v2/proto_util.h"
|
"v2/wire/chrome_client_info.proto",
|
||||||
#include "components/feed/feed_feature_list.h"
|
- "v2/wire/chrome_feed_response_metadata.proto",
|
||||||
|
"v2/wire/chrome_fulfillment_info.proto",
|
||||||
|
"v2/wire/client_info.proto",
|
||||||
|
"v2/wire/client_user_profiles.proto",
|
||||||
|
@@ -69,6 +68,10 @@
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
+proto_library("proto_ios_shared_v2") {
|
||||||
|
+ sources = [ "v2/wire/chrome_feed_response_metadata.proto" ]
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
if (is_android) {
|
||||||
|
proto_java_library("proto_java_v2") {
|
||||||
|
proto_path = "../../../../"
|
||||||
|
diff --git a/components/feed/core/v2/BUILD.gn b/components/feed/core/v2/BUILD.gn
|
||||||
|
index ab5efcc4..b1d3fb4 100644
|
||||||
|
--- a/components/feed/core/v2/BUILD.gn
|
||||||
|
+++ b/components/feed/core/v2/BUILD.gn
|
||||||
|
@@ -172,6 +172,7 @@
|
||||||
|
":ios_shared",
|
||||||
|
"//base",
|
||||||
|
"//components/feed/core/common:feed_core_common",
|
||||||
|
+ "//components/feed/core/proto:proto_ios_shared_v2",
|
||||||
|
"//components/feed/core/proto:proto_v2",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@@ -187,7 +188,7 @@
|
||||||
|
deps = [
|
||||||
|
"//base",
|
||||||
|
"//components/feed/core/common:feed_core_common",
|
||||||
|
- "//components/feed/core/proto:proto_v2",
|
||||||
|
+ "//components/feed/core/proto:proto_ios_shared_v2",
|
||||||
|
"//components/prefs",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
diff --git a/components/feed/core/v2/public/ios/BUILD.gn b/components/feed/core/v2/public/ios/BUILD.gn
|
||||||
|
index 106f089a..59bdd2b 100644
|
||||||
|
--- a/components/feed/core/v2/public/ios/BUILD.gn
|
||||||
|
+++ b/components/feed/core/v2/public/ios/BUILD.gn
|
||||||
|
@@ -25,7 +25,6 @@
|
||||||
|
deps = [
|
||||||
|
":feed_ios_public",
|
||||||
|
"//base/test:test_support",
|
||||||
|
- "//components/feed/core/v2:feed_core_v2",
|
||||||
|
"//components/prefs",
|
||||||
|
"//components/prefs:test_support",
|
||||||
|
"//testing/gmock",
|
||||||
|
Loading…
Reference in new issue