diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-03 08:18:24 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-03 08:18:24 +0000 |
commit | 7a13e7926699ad5d03f2d6e121b7bdb68ca05680 (patch) | |
tree | bc0875a8673be9bd54b0c126b76cc4efdb200fa3 /chrome/common/render_messages_internal.h | |
parent | d3f7e4fc4eedd2ec10877885cfd286aac1abacc6 (diff) | |
download | chromium_src-7a13e7926699ad5d03f2d6e121b7bdb68ca05680.zip chromium_src-7a13e7926699ad5d03f2d6e121b7bdb68ca05680.tar.gz chromium_src-7a13e7926699ad5d03f2d6e121b7bdb68ca05680.tar.bz2 |
Replace ViewHostMsg_GetPluginPath with ViewHostMsg_GetPluginInfo.
This enables the renderer to get more information about a plugin than just the path.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/3015029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54719 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index b8ddb28..6fd0c49 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -1242,14 +1242,15 @@ IPC_BEGIN_MESSAGES(ViewHost) bool /* refresh*/, std::vector<WebPluginInfo> /* plugins */) - // Returns a path to a plugin for the given url and mime type. If there's - // no plugin, an empty string is returned. - IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_GetPluginPath, + // Return information about a plugin for the given URL and MIME type. If there + // is no matching plugin, |found| is set to false. + IPC_SYNC_MESSAGE_CONTROL3_3(ViewHostMsg_GetPluginInfo, GURL /* url */, GURL /* policy_url */, std::string /* mime_type */, - FilePath /* filename */, - std::string /* actual mime type for url */) + bool /* found */, + WebPluginInfo /* plugin info */, + std::string /* actual_mime_type */) // Requests spellcheck for a word. IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_SpellCheck, |