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

Unified Diff: components/security_interstitials/core/BUILD.gn

Issue 2540563002: Move SafeBrowsingUIManager::UnsafeResource to security_interstitials namespace (Closed)
Patch Set: remove deps, sources for ios Created 4 years, 1 month 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
Index: components/security_interstitials/core/BUILD.gn
diff --git a/components/security_interstitials/core/BUILD.gn b/components/security_interstitials/core/BUILD.gn
index dbd5bccad1213454bd8f96c46f888b01992517bd..ba8bc580ecd3e90121174512b65e9f87df1e58dd 100644
--- a/components/security_interstitials/core/BUILD.gn
+++ b/components/security_interstitials/core/BUILD.gn
@@ -14,6 +14,8 @@ static_library("core") {
"metrics_helper.h",
"ssl_error_ui.cc",
"ssl_error_ui.h",
+ "unsafe_resource.cc",
+ "unsafe_resource.h",
]
deps = [
@@ -24,10 +26,25 @@ static_library("core") {
"//components/metrics",
"//components/prefs",
"//components/rappor",
+ "//components/safe_browsing_db:hit_report",
+ "//components/safe_browsing_db:util",
"//components/ssl_errors",
"//components/strings",
"//components/url_formatter",
+ "//content/public/browser",
"//net",
"//ui/base",
]
+
+ if (is_ios) {
+ sources -= [
+ "unsafe_resource.cc",
+ "unsafe_resource.h",
+ ]
+ deps -= [
+ "//components/safe_browsing_db:hit_report",
+ "//components/safe_browsing_db:util",
+ "//content/public/browser",
+ ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698