diff options
Diffstat (limited to 'chromium/components/safe_browsing/password_protection/BUILD.gn')
-rw-r--r-- | chromium/components/safe_browsing/password_protection/BUILD.gn | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chromium/components/safe_browsing/password_protection/BUILD.gn b/chromium/components/safe_browsing/password_protection/BUILD.gn index f898a9124d1..d219c28f91b 100644 --- a/chromium/components/safe_browsing/password_protection/BUILD.gn +++ b/chromium/components/safe_browsing/password_protection/BUILD.gn @@ -25,6 +25,7 @@ source_set("password_protection") { "//components/password_manager/core/browser:browser", "//components/safe_browsing:csd_proto", "//components/safe_browsing:features", + "//components/safe_browsing/common:common", "//components/safe_browsing/common:safe_browsing_prefs", "//components/safe_browsing/db:database_manager", "//components/safe_browsing/db:v4_protocol_manager_util", @@ -44,6 +45,7 @@ source_set("password_protection_unittest") { "password_protection_service_unittest.cc", ] deps = [ + ":mock_password_protection", ":password_protection", "//base", "//base/test:test_support", @@ -62,3 +64,23 @@ source_set("password_protection_unittest") { ] } } + +source_set("mock_password_protection") { + testonly = true + if (!is_android && !is_ios) { + sources = [ + "mock_password_protection_service.cc", + "mock_password_protection_service.h", + ] + deps = [ + ":password_protection", + "//base", + "//components/content_settings/core/browser:browser", + "//components/safe_browsing/db:database_manager", + "//net:test_support", + "//services/network/public/cpp:cpp", + "//testing/gmock", + "//testing/gtest", + ] + } +} |