diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 23:16:27 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 23:16:27 +0000 |
commit | b547fd44ca39e90e6416da8a5ffc040fa9d2446c (patch) | |
tree | e99a4dd4e1d05e0d8ceb2c1db2f8c45ba4b2bc2a /chrome/renderer/render_thread.h | |
parent | b2225f18acfce00b1a8a9f25a7ad2ef8450bb6a9 (diff) | |
download | chromium_src-b547fd44ca39e90e6416da8a5ffc040fa9d2446c.zip chromium_src-b547fd44ca39e90e6416da8a5ffc040fa9d2446c.tar.gz chromium_src-b547fd44ca39e90e6416da8a5ffc040fa9d2446c.tar.bz2 |
Allow Flash (and other plugins) to be installed without restarting the browser. This works by monitoring the MozillaPlugins registry key and reloading the plugin list afterwards.
Note: I'll commit the WebKit change separately, but putting it in this change right now so everything can be reviewed together.
BUG=10574
Review URL: http://codereview.chromium.org/88020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r-- | chrome/renderer/render_thread.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h index d57026e..d50fd96 100644 --- a/chrome/renderer/render_thread.h +++ b/chrome/renderer/render_thread.h @@ -91,6 +91,8 @@ class RenderThread : public RenderThreadBase, return user_script_slave_.get(); } + bool plugin_refresh_allowed() const { return plugin_refresh_allowed_; } + // Do DNS prefetch resolution of a hostname. void Resolve(const char* name, size_t length); @@ -129,6 +131,7 @@ class RenderThread : public RenderThreadBase, void OnExtensionHandleMessage(const std::string& message, int channel_id); void OnExtensionHandleEvent(const std::string event_name, const std::string event_data); + void OnPurgePluginListCache(); // Gather usage statistics from the in-memory cache and inform our host. // These functions should be call periodically so that the host can make @@ -157,6 +160,9 @@ class RenderThread : public RenderThreadBase, scoped_refptr<DevToolsAgentFilter> devtools_agent_filter_; + // If true, then a GetPlugins call is allowed to rescan the disk. + bool plugin_refresh_allowed_; + DISALLOW_COPY_AND_ASSIGN(RenderThread); }; |