summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/safe_browsing
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/safe_browsing')
-rw-r--r--chromium/chrome/browser/safe_browsing/BUILD.gn26
1 files changed, 23 insertions, 3 deletions
diff --git a/chromium/chrome/browser/safe_browsing/BUILD.gn b/chromium/chrome/browser/safe_browsing/BUILD.gn
index 2be129ce18a..3599895eb5c 100644
--- a/chromium/chrome/browser/safe_browsing/BUILD.gn
+++ b/chromium/chrome/browser/safe_browsing/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/jumbo.gni")
+import("//components/safe_browsing/buildflags.gni")
import("//extensions/buildflags/buildflags.gni")
jumbo_static_library("safe_browsing") {
@@ -27,6 +28,7 @@ jumbo_static_library("safe_browsing") {
"//components/password_manager/core/browser:hash_password_manager",
"//components/pref_registry",
"//components/resources:components_resources_grit",
+ "//components/safe_browsing:buildflags",
"//components/safe_browsing:features",
"//components/safe_browsing:ping_manager",
"//components/safe_browsing/browser:referrer_chain_provider",
@@ -71,6 +73,8 @@ jumbo_static_library("safe_browsing") {
"certificate_reporting_service.h",
"certificate_reporting_service_factory.cc",
"certificate_reporting_service_factory.h",
+ "chrome_password_protection_service.cc",
+ "chrome_password_protection_service.h",
"safe_browsing_blocking_page.cc",
"safe_browsing_blocking_page.h",
"safe_browsing_navigation_observer.cc",
@@ -81,6 +85,9 @@ jumbo_static_library("safe_browsing") {
"safe_browsing_navigation_throttle.h",
"safe_browsing_service.cc",
"safe_browsing_service.h",
+ "safe_browsing_subresource_tab_helper.cc",
+ "safe_browsing_subresource_tab_helper.h",
+ "services_delegate.cc",
"services_delegate.h",
"telemetry/telemetry_service.cc",
"telemetry/telemetry_service.h",
@@ -95,6 +102,12 @@ jumbo_static_library("safe_browsing") {
"//chrome/common/safe_browsing:proto",
"//components/safe_browsing:csd_proto",
"//components/safe_browsing:safe_browsing",
+
+ # TODO(crbug/996380): This is needed because the DownloadProtectionService
+ # is being built on Android. Since we don't actually use any
+ # DownloadProtectionService features on Android, we should fix that
+ # dependency and move this to the 'safe_browsing_mode == 1' section.
+ "//components/safe_browsing:webprotect_proto",
"//components/safe_browsing/browser",
"//components/safe_browsing/common",
"//components/safe_browsing/common:safe_browsing_prefs",
@@ -118,22 +131,28 @@ jumbo_static_library("safe_browsing") {
"browser_feature_extractor.h",
"browser_features.cc",
"browser_features.h",
- "chrome_password_protection_service.cc",
- "chrome_password_protection_service.h",
"client_side_detection_host.cc",
"client_side_detection_host.h",
"client_side_detection_service.cc",
"client_side_detection_service.h",
"client_side_model_loader.cc",
"client_side_model_loader.h",
+ "download_protection/binary_fcm_service.cc",
+ "download_protection/binary_fcm_service.h",
"download_protection/binary_upload_service.cc",
"download_protection/binary_upload_service.h",
"download_protection/check_client_download_request.cc",
"download_protection/check_client_download_request.h",
+ "download_protection/check_client_download_request_base.cc",
+ "download_protection/check_client_download_request_base.h",
+ "download_protection/check_native_file_system_write_request.cc",
+ "download_protection/check_native_file_system_write_request.h",
"download_protection/download_feedback.cc",
"download_protection/download_feedback.h",
"download_protection/download_feedback_service.cc",
"download_protection/download_feedback_service.h",
+ "download_protection/download_item_request.cc",
+ "download_protection/download_item_request.h",
"download_protection/download_protection_service.cc",
"download_protection/download_protection_service.h",
"download_protection/download_protection_util.cc",
@@ -212,7 +231,6 @@ jumbo_static_library("safe_browsing") {
"//components/content_settings/core/browser",
"//components/language/core/common",
"//components/prefs",
- "//components/safe_browsing:webprotect_proto",
"//components/safe_browsing/db",
"//components/security_interstitials/content:security_interstitial_page",
"//content/public/browser",
@@ -231,6 +249,7 @@ jumbo_static_library("safe_browsing") {
]
deps += [
"//chrome/android:jni_headers",
+ "//components/safe_browsing:buildflags",
"//components/safe_browsing/android:safe_browsing_mobile",
]
} else if (safe_browsing_mode == 3) {
@@ -277,6 +296,7 @@ source_set("test_support") {
deps = [
":safe_browsing",
"//chrome/common/safe_browsing:proto",
+ "//components/safe_browsing:buildflags",
"//components/safe_browsing/db:database_manager",
"//components/safe_browsing/db:test_database_manager",
"//components/safe_browsing/db:v4_protocol_manager_util",