Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5348)

Unified Diff: chrome/renderer/renderer_glue.cc

Issue 88020: Allow Flash (and other plugins) to be installed without restarting the browse... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | third_party/WebKit/WebKit/chromium/public/WebKit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_glue.cc
===================================================================
--- chrome/renderer/renderer_glue.cc (revision 14070)
+++ chrome/renderer/renderer_glue.cc (working copy)
@@ -215,8 +215,10 @@
}
bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) {
- return RenderThread::current()->Send(
- new ViewHostMsg_GetPlugins(refresh, plugins));
+ if (!RenderThread::current()->plugin_refresh_allowed())
+ refresh = false;
+ return RenderThread::current()->Send(new ViewHostMsg_GetPlugins(
+ refresh, plugins));
}
// static factory function
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | third_party/WebKit/WebKit/chromium/public/WebKit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698