summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi
diff options
context:
space:
mode:
authormal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-22 19:02:02 +0000
committermal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-22 19:02:02 +0000
commitcf70bb653f30cc5979306d95a49006af314434c9 (patch)
treea8c8e2ca799e5b41b9d9ff8e43e0f67f61c7d7f1 /webkit/plugins/npapi
parentdf2f8255bfe7d22347d74cbed544f0278316e8c2 (diff)
downloadchromium_src-cf70bb653f30cc5979306d95a49006af314434c9.zip
chromium_src-cf70bb653f30cc5979306d95a49006af314434c9.tar.gz
chromium_src-cf70bb653f30cc5979306d95a49006af314434c9.tar.bz2
Direct Windows users to a better Java download page.
There are a couple of cases where we either redirect to a generic Java info page (http://java.com/) or to a locale-specific page. http://java.com/download does OS and locale detection automatically, so we should redirect users there. The page does not handle linux specially, so I left the URL alone for Linux in plugin_list.cc. BUG= http://bugs.chromium.org/76634 TEST= On a Windows machine without Java installed or with an out of date version of Java, going to a site that uses the Java plugin should show the missing plugin link and link to http://java.com/download... never http://java.com/ R=jam@chromium.org, darin@chromium.org, ananta@chromium.org, panayiotis@google.com Review URL: http://codereview.chromium.org/6709057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/npapi')
-rw-r--r--webkit/plugins/npapi/plugin_list.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/plugins/npapi/plugin_list.cc b/webkit/plugins/npapi/plugin_list.cc
index b5dabe8..88cc45e 100644
--- a/webkit/plugins/npapi/plugin_list.cc
+++ b/webkit/plugins/npapi/plugin_list.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -112,7 +112,8 @@ static const PluginGroupDefinition kGroupDefinitions[] = {
kQuicktimeVersionRange, arraysize(kQuicktimeVersionRange),
"http://www.apple.com/quicktime/download/" },
{ "java-runtime-environment", PluginGroup::kJavaGroupName, "Java",
- kJavaVersionRange, arraysize(kJavaVersionRange), "http://www.java.com/" },
+ kJavaVersionRange, arraysize(kJavaVersionRange),
+ "http://www.java.com/download" },
{ "adobe-reader", PluginGroup::kAdobeReaderGroupName, "Adobe Acrobat",
kAdobeReaderVersionRange, arraysize(kAdobeReaderVersionRange),
"http://get.adobe.com/reader/" },