diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 00:09:55 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 00:09:55 +0000 |
commit | 062ca55c85775389f8051d92e3de2aee18690a71 (patch) | |
tree | e1e40dd477524c1caf5e38cda646e85c1327d648 /webkit/default_plugin/plugin_impl.h | |
parent | f86cdcc5174e672ce40f229c2a0a3f75c250db18 (diff) | |
download | chromium_src-062ca55c85775389f8051d92e3de2aee18690a71.zip chromium_src-062ca55c85775389f8051d92e3de2aee18690a71.tar.gz chromium_src-062ca55c85775389f8051d92e3de2aee18690a71.tar.bz2 |
This fixes http://code.google.com/p/chromium/issues/detail?id=3769, which
is to allow users to download the java plugin via our plugin installer.
The plugin installer currently supports URLs which point to executable files.
However the java runtime path is timed and changes frequently. As a stop gap
fix for this, I added a facility in the plugin installer which indicates if
a URL is a display URL. If yes then we navigate to this URL in a new tab,
and allow the user to download the plugin from there.
The format of the chrome_plugins_file.xml has been changed to have each plugin
node specify a list of mime types. This reduces a great deal of duplicated
information in the plugins file.
Changed the plugin finder URL to http://dl.google.com/chrome/plugins/plugins2.xml
to ensure that older clients continue to work.
Bug=3769
R=jam
Review URL: http://codereview.chromium.org/8729
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4260 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/default_plugin/plugin_impl.h')
-rw-r--r-- | webkit/default_plugin/plugin_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/default_plugin/plugin_impl.h b/webkit/default_plugin/plugin_impl.h index 76bf65c..8da77cb 100644 --- a/webkit/default_plugin/plugin_impl.h +++ b/webkit/default_plugin/plugin_impl.h @@ -337,6 +337,8 @@ class PluginInstallerImpl : public CWindowImpl<PluginInstallerImpl> { std::wstring plugin_name_; // The actual download URL. std::string plugin_download_url_; + // Indicates if the plugin download URL points to an exe. + bool plugin_download_url_for_display_; // The current state of the plugin installer. PluginInstallerState plugin_installer_state_; // Used to display the UI for plugin installation. |