From b78e168b1640e456e1fc5a1ca8956a4a50c7df94 Mon Sep 17 00:00:00 2001 From: "mpcomplete@chromium.org" Date: Mon, 21 Sep 2009 22:05:45 +0000 Subject: 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 --- chrome/common/render_messages_internal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chrome/common') 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 /* selected files */) -- cgit v1.1