Moved chrome://connection-help logic to a separate WebUI.
Moved connection-help out of AboutUI and into its own WebUI, also
separated strings in the grd file, and implemented the content as an
HTML template that is filled with those strings.
Compression was also enabled for resources.
Bug: 813792
Change-Id: Ibc3e86206a7662490570cecff4a304030ba767f2
Reviewed-on: https://chromium-review.googlesource.com/957877
Commit-Queue: Carlos IL <[email protected]>
Reviewed-by: Edward Jung <[email protected]>
Reviewed-by: Tommy Li <[email protected]>
Reviewed-by: Emily Stark <[email protected]>
Cr-Commit-Position: refs/heads/master@{#544775}
diff --git a/components/security_interstitials/content/BUILD.gn b/components/security_interstitials/content/BUILD.gn
index 022d556..b3f383e 100644
--- a/components/security_interstitials/content/BUILD.gn
+++ b/components/security_interstitials/content/BUILD.gn
@@ -4,12 +4,16 @@
static_library("security_interstitial_page") {
sources = [
+ "connection_help_ui.cc",
+ "connection_help_ui.h",
"security_interstitial_controller_client.cc",
"security_interstitial_controller_client.h",
"security_interstitial_page.cc",
"security_interstitial_page.h",
"unsafe_resource.cc",
"unsafe_resource.h",
+ "urls.cc",
+ "urls.h",
]
public_deps = [
@@ -24,6 +28,7 @@
"//components/safe_browsing/db:hit_report",
"//components/safe_browsing/db:util",
"//components/security_interstitials/core:core",
+ "//components/strings:components_strings_grit",
"//content/public/browser",
"//content/public/common",
]