summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/pdf_unsupported_feature.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/pdf_unsupported_feature.cc b/chrome/browser/pdf_unsupported_feature.cc
index 134031a..6e55885 100644
--- a/chrome/browser/pdf_unsupported_feature.cc
+++ b/chrome/browser/pdf_unsupported_feature.cc
@@ -31,10 +31,13 @@ using webkit::npapi::PluginGroup;
using webkit::npapi::PluginList;
using webkit::npapi::WebPluginInfo;
+namespace {
+
// Only launch Adobe Reader X or later.
static const uint16 kMinReaderVersionToUse = 10;
-namespace {
+static const char kReaderUpdateUrl[] =
+ "http://www.adobe.com/go/getreader_chrome";
// The info bar delegate used to ask the user if they want to use Adobe Reader
// by default. We want the infobar to have [No][Yes], so we swap the text on
@@ -121,7 +124,7 @@ class PDFEnableAdobeReaderConfirmInfoBarDelegate
// Launch the url to get the latest Adbobe Reader installer.
void OpenReaderUpdateURL(TabContents* tab) {
- tab->OpenURL(GURL(PluginGroup::kAdobeReaderUpdateURL), GURL(), CURRENT_TAB,
+ tab->OpenURL(GURL(kReaderUpdateUrl), GURL(), CURRENT_TAB,
PageTransition::LINK);
}