Index: chrome/browser/nacl_host/nacl_infobar_delegate.cc |
diff --git a/chrome/browser/nacl_host/nacl_infobar_delegate.cc b/chrome/browser/nacl_host/nacl_infobar_delegate.cc |
index c7047e23c602057a30d50e240e3a395c2c0652e7..7692b22d38d05858411bd526404cfdf3c6775c65 100644 |
--- a/chrome/browser/nacl_host/nacl_infobar_delegate.cc |
+++ b/chrome/browser/nacl_host/nacl_infobar_delegate.cc |
@@ -50,10 +50,14 @@ base::string16 NaClInfoBarDelegate::GetLinkText() const { |
return l10n_util::GetStringUTF16(IDS_LEARN_MORE); |
} |
+GURL NaClInfoBarDelegate::GetLinkURL() const { |
+ return GURL("https://support.google.com/chrome/?p=ib_nacl"); |
+} |
+ |
bool NaClInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { |
InfoBarService::WebContentsFromInfoBar(infobar())->OpenURL( |
content::OpenURLParams( |
- GURL("https://support.google.com/chrome/?p=ib_nacl"), |
+ GetLinkURL(), |
content::Referrer(), |
(disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
ui::PAGE_TRANSITION_LINK, false)); |