Index: components/safe_browsing_db/BUILD.gn |
diff --git a/components/safe_browsing_db/BUILD.gn b/components/safe_browsing_db/BUILD.gn |
index 5a58fe2f269aa17b0c7f263ec9ac3ccf925ec55d..ce5ea5d5c47c2459370b59473086d8c93b31e042 100644 |
--- a/components/safe_browsing_db/BUILD.gn |
+++ b/components/safe_browsing_db/BUILD.gn |
@@ -82,20 +82,6 @@ source_set("prefix_set") { |
] |
} |
-source_set("v4_get_hash_protocol_manager") { |
- sources = [ |
- "v4_get_hash_protocol_manager.cc", |
- "v4_get_hash_protocol_manager.h", |
- ] |
- deps = [ |
- ":proto", |
- ":util", |
- "//base", |
- "//net", |
- "//url:url", |
- ] |
-} |
- |
source_set("remote_database_manager") { |
sources = [ |
"remote_database_manager.cc", |
@@ -164,18 +150,47 @@ source_set("test_database_manager") { |
] |
} |
+source_set("v4_get_hash_protocol_manager") { |
+ sources = [ |
+ "v4_get_hash_protocol_manager.cc", |
+ "v4_get_hash_protocol_manager.h", |
+ ] |
+ deps = [ |
+ ":proto", |
+ ":util", |
+ ":v4_protocol_manager_util", |
+ "//base", |
+ "//net", |
+ "//url:url", |
+ ] |
+} |
+ |
+source_set("v4_protocol_manager_util") { |
+ sources = [ |
+ "v4_protocol_manager_util.cc", |
+ "v4_protocol_manager_util.h", |
+ ] |
+ deps = [ |
+ "//base", |
+ "//net", |
+ "//url:url", |
+ ] |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
sources = [ |
"prefix_set_unittest.cc", |
"util_unittest.cc", |
"v4_get_hash_protocol_manager_unittest.cc", |
+ "v4_protocol_manager_util_unittest.cc", |
] |
deps = [ |
":prefix_set", |
":proto", |
":util", |
":v4_get_hash_protocol_manager", |
+ ":v4_protocol_manager_util", |
"//base", |
"//net", |
"//net:test_support", |