Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1801)

Unified Diff: components/safe_browsing/BUILD.gn

Issue 2650973005: Componentize ping_manager (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/safe_browsing/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing/BUILD.gn
diff --git a/components/safe_browsing/BUILD.gn b/components/safe_browsing/BUILD.gn
index f8d05496a008ffe2af266caaf0e7eba3d5dc69ec..ca816664d7b03c8832e9bff16ffda829b6a8d528 100644
--- a/components/safe_browsing/BUILD.gn
+++ b/components/safe_browsing/BUILD.gn
@@ -13,6 +13,7 @@ source_set("safe_browsing") {
]
deps = [
+ ":base_ping_manager",
"//base:base",
"//base:i18n",
"//components/safe_browsing_db:database_manager",
@@ -25,3 +26,38 @@ source_set("safe_browsing") {
"//net:net",
]
}
+
+static_library("base_ping_manager") {
+ sources = [
+ "base_ping_manager.cc",
+ "base_ping_manager.h",
+ ]
+
+ public_deps = [
+ "//google_apis:google_apis",
+ ]
+
+ deps = [
+ "//base:base",
+ "//components/data_use_measurement/core:core",
+ "//components/safe_browsing_db:hit_report",
+ "//components/safe_browsing_db:util",
+ "//content/public/browser:browser",
+ "//net:net",
+ ]
+}
+
+source_set("base_ping_manager_unittest") {
+ testonly = true
+ sources = [
+ "base_ping_manager_unittest.cc",
+ ]
+
+ deps = [
+ ":base_ping_manager",
+ "//base:base",
+ "//net:net",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/safe_browsing/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698