Move SecurityInterstitialPage into components/security_interstitial/content.
And resolve all the dependencies and tests and so on.
BUG=666100
Review-Url: https://codereview.chromium.org/2603433002
Cr-Commit-Position: refs/heads/master@{#441701}
diff --git a/components/security_interstitials/content/BUILD.gn b/components/security_interstitials/content/BUILD.gn
index d044aaa..d2252c27 100644
--- a/components/security_interstitials/content/BUILD.gn
+++ b/components/security_interstitials/content/BUILD.gn
@@ -2,8 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("unsafe_resource") {
+static_library("security_interstitial_page") {
sources = [
+ "security_interstitial_controller_client.cc",
+ "security_interstitial_controller_client.h",
+ "security_interstitial_page.cc",
+ "security_interstitial_page.h",
"unsafe_resource.cc",
"unsafe_resource.h",
]
@@ -14,7 +18,13 @@
deps = [
"//base",
+ "//components/prefs:prefs",
+ "//components/resources",
+ "//components/safe_browsing_db:hit_report",
+ "//components/safe_browsing_db:safe_browsing_prefs",
"//components/safe_browsing_db:util",
+ "//components/security_interstitials/core:core",
"//content/public/browser",
+ "//content/public/common",
]
}