| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("password_protection") { | 5 source_set("password_protection") { |
| 6 sources = [ | 6 sources = [ |
| 7 "password_protection_service.cc", | 7 "password_protection_service.cc", |
| 8 "password_protection_service.h", | 8 "password_protection_service.h", |
| 9 ] | 9 ] |
| 10 | 10 |
| 11 deps = [ | 11 deps = [ |
| 12 "//base:base", | 12 "//base:base", |
| 13 "//components/content_settings/core/browser:browser", |
| 13 "//components/history/core/browser:browser", | 14 "//components/history/core/browser:browser", |
| 15 "//components/safe_browsing:csd_proto", |
| 14 "//components/safe_browsing_db:database_manager", | 16 "//components/safe_browsing_db:database_manager", |
| 17 "//components/safe_browsing_db:v4_protocol_manager_util", |
| 15 "//content/public/browser:browser", | 18 "//content/public/browser:browser", |
| 16 "//third_party/protobuf:protobuf_lite", | 19 "//third_party/protobuf:protobuf_lite", |
| 17 ] | 20 ] |
| 18 } | 21 } |
| 19 | 22 |
| 20 source_set("password_protection_unittest") { | 23 source_set("password_protection_unittest") { |
| 21 testonly = true | 24 testonly = true |
| 22 sources = [ | 25 sources = [ |
| 23 "password_protection_service_unittest.cc", | 26 "password_protection_service_unittest.cc", |
| 24 ] | 27 ] |
| 25 deps = [ | 28 deps = [ |
| 26 ":password_protection", | 29 ":password_protection", |
| 27 "//base", | 30 "//base", |
| 28 "//base/test:test_support", | 31 "//base/test:test_support", |
| 29 "//components/safe_browsing_db:test_database_manager", | 32 "//components/safe_browsing_db:test_database_manager", |
| 33 "//components/sync_preferences:test_support", |
| 30 "//content/test:test_support", | 34 "//content/test:test_support", |
| 31 "//testing/gmock", | 35 "//testing/gmock", |
| 32 "//testing/gtest", | 36 "//testing/gtest", |
| 33 "//third_party/protobuf:protobuf_lite", | 37 "//third_party/protobuf:protobuf_lite", |
| 34 ] | 38 ] |
| 35 } | 39 } |
| OLD | NEW |