summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 22:05:45 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 22:05:45 +0000
commitb78e168b1640e456e1fc5a1ca8956a4a50c7df94 (patch)
treecbadab016871c254617ec26ab2d4c6987033b1c4 /chrome/common
parenta66e24c34a22a4a183b91ad80d74e896a4f4db5f (diff)
downloadchromium_src-b78e168b1640e456e1fc5a1ca8956a4a50c7df94.zip
chromium_src-b78e168b1640e456e1fc5a1ca8956a4a50c7df94.tar.gz
chromium_src-b78e168b1640e456e1fc5a1ca8956a4a50c7df94.tar.bz2
Update renderer plugin cache when we load/unload extensions with plugins.
BUG=12306 TEST=Load and unload extensions that contain plugins and visit pages that use them. Also covered by tests. Review URL: http://codereview.chromium.org/201111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26748 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages_internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 700f3a1..9cfdf77 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -455,8 +455,10 @@ IPC_BEGIN_MESSAGES(View)
// Install the first missing pluign.
IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin)
- // Tells the renderer to empty its plugin list cache.
- IPC_MESSAGE_CONTROL0(ViewMsg_PurgePluginListCache)
+ // Tells the renderer to empty its plugin list cache, optional reloading
+ // pages containing plugins.
+ IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache,
+ bool /* reload_pages */)
IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse,
std::vector<FilePath> /* selected files */)