Added AboutUI page for connection-help.

Added an AboutUI page for chrome://connection-help, that displays a
subset of the information available at
support.google.com/chrome/answer/6098869. On a separate CL, logic
will be added to redirect users who visit the online help center and
get an interstitial to the chrome://connection-help site.

Bug: 811382

Change-Id: Ic53d81a902fd8f59894f935a691b90c6eec98c11
Reviewed-on: https://chromium-review.googlesource.com/854793
Commit-Queue: Carlos IL <[email protected]>
Reviewed-by: Tommy Li <[email protected]>
Reviewed-by: Emily Stark <[email protected]>
Cr-Commit-Position: refs/heads/master@{#537119}
diff --git a/components/security_interstitials_strings.grdp b/components/security_interstitials_strings.grdp
index ce5dc63..4e853aa4 100644
--- a/components/security_interstitials_strings.grdp
+++ b/components/security_interstitials_strings.grdp
@@ -302,5 +302,54 @@
   <message name="IDS_PHISHING_WEBVIEW_EXPLANATION_PARAGRAPH" desc="The explanation of why Safe Browsing has blocked the page. Allows the user to proceed using a link.">
     This content might try to trick you into installing software or revealing personal information. <ph name="BEGIN_LINK">&lt;a href="#" id="proceed-link"&gt;</ph>Show anyway<ph name="END_LINK">&lt;/a&gt;</ph>
   </message>
-
+  <message name="IDS_CONNECTION_HELP_TITLE" desc="The title for the chrome://connection-help site">
+    Connection Help
+  </message>
+  <message name="IDS_CONNECTION_HELP_HTML" desc="The HTML for the chrome://connection-help site that is shown when visiting the online help center triggers an SSL interstitial, this is a simplified version of the content at https://support.google.com/chrome/answer/6098869.">
+    &lt;h1&gt;Fix connection errors&lt;/h1&gt;
+    &lt;p&gt;If you get an error message when you try to visit a website, try these fixes.&lt;/p&gt;
+    &lt;h2&gt;Fix most connection errors&lt;/h2&gt;
+    &lt;p&gt;If you try to visit a website and it doesn’t open, first try to fix the error with these troubleshooting steps:&lt;/p&gt;
+    &lt;ol&gt;
+    &lt;li&gt;Check the web address for typos.&lt;/li&gt;
+    &lt;li&gt;Make sure your internet connection is working normally.&lt;/li&gt;
+    &lt;li&gt;Contact the website owner.&lt;/li&gt;
+    &lt;/ol&gt;
+    &lt;h2&gt;Get help with a specific error message&lt;/h2&gt;
+    &lt;h3&gt;"Your connection is not private" or "NET::ERR_CERT_AUTHORITY_INVALID" or "ERR_CERT_COMMON_NAME_INVALID" or "NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM" or "SSL certificate error"&lt;/h3&gt;
+    &lt;h4&gt;Step 1: Sign in to the portal&lt;/h4&gt;
+    &lt;p&gt;Wi-Fi networks at places like cafes or airports need you to sign in. To see the sign-in page, visit a page that uses&lt;code&gt;http://&lt;/code&gt;.&lt;/p&gt;
+    &lt;ol&gt;
+    &lt;li&gt;Go to any website starting with &lt;code&gt;http://&lt;/code&gt;, like &lt;a href="http://example.com" target="_blank"&gt;http://example.com&lt;/a&gt;.&lt;/li&gt;
+    &lt;li&gt;On the sign-in page that opens, sign in to use the internet.&lt;/li&gt;
+    &lt;/ol&gt;
+    &lt;h4&gt;Step 2: Open the page in Incognito mode (computer only)&lt;/h4&gt;
+    &lt;p&gt;Open the page you were visiting in an Incognito window.&lt;/p&gt;
+    &lt;p&gt;If the page opens, a Chrome extension isn't working right. To fix the error, turn off the extension.&lt;/p&gt;
+    &lt;h4&gt;Step 3: Update your operating system&lt;/h4&gt;
+    &lt;p&gt;Make sure your device is up-to-date.&lt;/p&gt;
+    &lt;h4&gt;Step 4: Temporarily turn off your antivirus&lt;/h4&gt;
+    &lt;p&gt;You'll see this error if you have antivirus software that provides "HTTPS protection" or "HTTPS scanning." The antivirus is preventing Chrome from providing security.&lt;/p&gt;
+    &lt;p&gt;To fix the problem, turn off your antivirus software. If the page works after turning off the software, turn off this software when you use secure sites.&lt;/p&gt;
+    &lt;p&gt;Remember to turn your antivirus program back on when you're done.&lt;/p&gt;
+    &lt;h4&gt;Step 5: Get extra help&lt;/h4&gt;
+    &lt;p&gt;If you still see the error, contact the website owner.&lt;/p&gt;
+    &lt;h3&gt;"Connect to network"&lt;/h3&gt;
+    &lt;p&gt;You'll see this error if you're using a Wi-Fi portal where you have to sign in before you can get online.&lt;/p&gt;
+    &lt;p&gt;To fix the error, click &lt;strong&gt;Connect&lt;/strong&gt; on the page you're trying to open.&lt;/p&gt;
+    &lt;h3&gt;"Your clock is behind" or "Your clock is ahead" or "NET::ERR_CERT_DATE_INVALID"&lt;/h3&gt;
+    &lt;p&gt;You'll see this error if your computer or mobile device's date and time are inaccurate.&lt;/p&gt;
+    &lt;p&gt;To fix the error, open your device's clock. Make sure the time and date are correct.&lt;/p&gt;
+    &lt;h3&gt;"Software on your computer is stopping Chrome from safely connecting to the web" (Windows computers only)&lt;/h3&gt;
+    &lt;p&gt;You'll see this error if you have Superfish software on your Windows computer.&lt;/p&gt;
+    &lt;p&gt;Follow these steps to temporarily disable the software so you can get on the web. You'll need administrator privileges.&lt;/p&gt;
+    &lt;ol&gt;
+    &lt;li&gt;Click &lt;strong&gt;Start&lt;/strong&gt;, then search for and select &lt;strong&gt;"View local services"&lt;/strong&gt;
+    &lt;li&gt;Select &lt;strong&gt;VisualDiscovery&lt;/strong&gt;
+    &lt;li&gt;Under &lt;strong&gt;Startup type&lt;/strong&gt;, select &lt;strong&gt;Disabled&lt;/strong&gt;
+    &lt;li&gt;Under &lt;strong&gt;Service status&lt;/strong&gt;, click &lt;strong&gt;Stop&lt;/strong&gt;
+    &lt;li&gt;Click &lt;strong&gt;Apply&lt;/strong&gt;, then click &lt;strong&gt;OK&lt;/strong&gt;
+    &lt;li&gt;Visit the &lt;a href="https://support.google.com/chrome/answer/6098869"&gt;Chrome help center&lt;/a&gt; to learn how to permanently remove the software from your computer
+    &lt;/ol&gt;
+  </message>
 </grit-part>