Componentize SSLBlockingPage(Base)
This CL paves the way for reusing //chrome's SSLBlockingPage(Base) in
WebLayer by componentizing them.
We do not componentize ssl_blocking_page_unittest.cc at this time as
it fundamentally relies on //chrome-level mechanisms. We are going
to investigate whether the test really is conceptually //chrome-level
(in which case we'll rename it to something like
chrome_ssl_blocking_page_unittest.cc) or whether the mechanisms that
it relies on for validating its tests can be converted to mechanisms
available in //components.
We also do not put the moved files in the security_interstitials
namespace at this time to avoid churn with further moves that will
occur.
[email protected]
Bug: 1025059
Change-Id: I4c594c3b4d53f804847919bb5c3be86444767730
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1924252
Commit-Queue: Colin Blundell <[email protected]>
Reviewed-by: Carlos IL <[email protected]>
Cr-Commit-Position: refs/heads/master@{#717580}
diff --git a/components/security_interstitials/content/BUILD.gn b/components/security_interstitials/content/BUILD.gn
index be993f1..78a8854 100644
--- a/components/security_interstitials/content/BUILD.gn
+++ b/components/security_interstitials/content/BUILD.gn
@@ -21,6 +21,10 @@
"security_interstitial_page.h",
"security_interstitial_tab_helper.cc",
"security_interstitial_tab_helper.h",
+ "ssl_blocking_page.cc",
+ "ssl_blocking_page.h",
+ "ssl_blocking_page_base.cc",
+ "ssl_blocking_page_base.h",
"ssl_cert_reporter.h",
"ssl_error_navigation_throttle.cc",
"ssl_error_navigation_throttle.h",