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

Unified Diff: components/safe_browsing/common/BUILD.gn

Issue 2869383002: Unify safe_browsing* components [1]: move safe_browsing_prefs* (Closed)
Patch Set: fix win bots Created 3 years, 7 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 | « components/safe_browsing/base_blocking_page.cc ('k') | components/safe_browsing/common/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing/common/BUILD.gn
diff --git a/components/safe_browsing/common/BUILD.gn b/components/safe_browsing/common/BUILD.gn
index 4e32332c949f9b96b9857b307f5db77498a46b09..212b21df0d35826a7ca34be94d7c45b524907d96 100644
--- a/components/safe_browsing/common/BUILD.gn
+++ b/components/safe_browsing/common/BUILD.gn
@@ -20,3 +20,28 @@ source_set("common") {
"//url/ipc:url_ipc",
]
}
+
+static_library("safe_browsing_prefs") {
+ sources = [
+ "safe_browsing_prefs.cc",
+ "safe_browsing_prefs.h",
+ ]
+ deps = [
+ "//base:base",
+ "//components/prefs",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "safe_browsing_prefs_unittest.cc",
+ ]
+ deps = [
+ ":safe_browsing_prefs",
+ "//base:base",
+ "//base/test:test_support",
+ "//components/prefs:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/safe_browsing/base_blocking_page.cc ('k') | components/safe_browsing/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698