summaryrefslogtreecommitdiff
path: root/chromium/components/invalidation
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-24 12:15:48 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-28 13:30:04 +0000
commitb014812705fc80bff0a5c120dfcef88f349816dc (patch)
tree25a2e2d9fa285f1add86aa333389a839f81a39ae /chromium/components/invalidation
parent9f4560b1027ae06fdb497023cdcaf91b8511fa74 (diff)
downloadqtwebengine-chromium-b014812705fc80bff0a5c120dfcef88f349816dc.tar.gz
BASELINE: Update Chromium to 68.0.3440.125
Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/invalidation')
-rw-r--r--chromium/components/invalidation/impl/BUILD.gn25
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/components/invalidation/impl/BUILD.gn b/chromium/components/invalidation/impl/BUILD.gn
index 0e26b79a3aa..274056bee63 100644
--- a/chromium/components/invalidation/impl/BUILD.gn
+++ b/chromium/components/invalidation/impl/BUILD.gn
@@ -27,8 +27,12 @@ static_library("impl") {
"invalidator_storage.h",
"mock_ack_handler.cc",
"mock_ack_handler.h",
+ "per_user_topic_registration_request.cc",
+ "per_user_topic_registration_request.h",
"profile_invalidation_provider.cc",
"profile_invalidation_provider.h",
+ "status.cc",
+ "status.h",
"unacked_invalidation_set.cc",
"unacked_invalidation_set.h",
]
@@ -48,6 +52,8 @@ static_library("impl") {
"//google_apis",
"//jingle:notifier",
"//net:net",
+ "//services/network/public/cpp",
+ "//services/network/public/mojom",
# TODO(sync): Remove this (http://crbug.com/133352);
"//third_party/protobuf:protobuf_lite",
@@ -96,16 +102,34 @@ static_library("impl") {
}
}
+source_set("json_unsafe_parser") {
+ testonly = !is_ios
+
+ sources = [
+ "json_unsafe_parser.cc",
+ "json_unsafe_parser.h",
+ ]
+
+ public_deps = [
+ "//base",
+ ]
+}
+
source_set("unit_tests") {
testonly = true
sources = [
"invalidation_logger_unittest.cc",
+ "per_user_topic_registration_request_unittest.cc",
]
deps = [
":impl",
+ ":json_unsafe_parser",
":test_support",
"//base",
+ "//base/test:test_support",
"//components/prefs",
+ "//net:test_support",
+ "//services/network:test_support",
"//testing/gmock",
"//testing/gtest",
]
@@ -237,6 +261,7 @@ if (is_android) {
"//third_party/cacheinvalidation:cacheinvalidation_proto_java",
"//third_party/junit",
]
+ deps += android_extra_test_deps
java_files = [
"android/javatests/src/org/chromium/components/invalidation/InvalidationClientServiceTest.java",
"android/javatests/src/org/chromium/components/invalidation/TestableInvalidationClientService.java",