Index: chrome/browser/infobars/insecure_content_infobar_delegate.cc |
diff --git a/chrome/browser/infobars/insecure_content_infobar_delegate.cc b/chrome/browser/infobars/insecure_content_infobar_delegate.cc |
index 5b18054270a94390801ff3004f43fb949d280eb9..15a1075998679a63bf4d49a21ccee80060b16fd1 100644 |
--- a/chrome/browser/infobars/insecure_content_infobar_delegate.cc |
+++ b/chrome/browser/infobars/insecure_content_infobar_delegate.cc |
@@ -97,11 +97,15 @@ base::string16 InsecureContentInfoBarDelegate::GetLinkText() const { |
return l10n_util::GetStringUTF16(IDS_LEARN_MORE); |
} |
+GURL InsecureContentInfoBarDelegate::GetLinkURL() const { |
+ return GURL("https://support.google.com/chrome/answer/1342714"); |
+} |
+ |
bool InsecureContentInfoBarDelegate::LinkClicked( |
WindowOpenDisposition disposition) { |
InfoBarService::WebContentsFromInfoBar(infobar())->OpenURL( |
content::OpenURLParams( |
- GURL("https://support.google.com/chrome/answer/1342714"), |
+ GetLinkURL(), |
content::Referrer(), |
(disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
ui::PAGE_TRANSITION_LINK, false)); |