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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 164305: Ensure we don't load plugins on the IO thread (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_plugin_lib.cc ('k') | chrome/renderer/renderer_glue.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 // Returns a path to a plugin for the given url and mime type. If there's 898 // Returns a path to a plugin for the given url and mime type. If there's
899 // no plugin, an empty string is returned. 899 // no plugin, an empty string is returned.
900 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_GetPluginPath, 900 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_GetPluginPath,
901 GURL /* url */, 901 GURL /* url */,
902 GURL /* policy_url */, 902 GURL /* policy_url */,
903 std::string /* mime_type */, 903 std::string /* mime_type */,
904 std::string /* clsid */, 904 std::string /* clsid */,
905 FilePath /* filename */, 905 FilePath /* filename */,
906 std::string /* actual mime type for url */) 906 std::string /* actual mime type for url */)
907 907
908 // Retrieve the data directory associated with the renderer's profile.
909 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetDataDir,
910 std::wstring /* data_dir_retval */)
911
912 // Allows a chrome plugin loaded in a renderer process to send arbitrary 908 // Allows a chrome plugin loaded in a renderer process to send arbitrary
913 // data to an instance of the same plugin loaded in the browser process. 909 // data to an instance of the same plugin loaded in the browser process.
914 IPC_MESSAGE_CONTROL2(ViewHostMsg_PluginMessage, 910 IPC_MESSAGE_CONTROL2(ViewHostMsg_PluginMessage,
915 FilePath /* plugin_path of plugin */, 911 FilePath /* plugin_path of plugin */,
916 std::vector<uint8> /* opaque data */) 912 std::vector<uint8> /* opaque data */)
917 913
918 // Allows a chrome plugin loaded in a renderer process to send arbitrary 914 // Allows a chrome plugin loaded in a renderer process to send arbitrary
919 // data to an instance of the same plugin loaded in the browser process. 915 // data to an instance of the same plugin loaded in the browser process.
920 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_PluginSyncMessage, 916 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_PluginSyncMessage,
921 FilePath /* plugin_path of plugin */, 917 FilePath /* plugin_path of plugin */,
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, 1658 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes,
1663 FilePath /* the name of the file */, 1659 FilePath /* the name of the file */,
1664 int32 /* a unique message ID */) 1660 int32 /* a unique message ID */)
1665 1661
1666 // Asks the browser process to return the size of a DB file 1662 // Asks the browser process to return the size of a DB file
1667 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, 1663 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize,
1668 FilePath /* the name of the file */, 1664 FilePath /* the name of the file */,
1669 int32 /* a unique message ID */) 1665 int32 /* a unique message ID */)
1670 1666
1671 IPC_END_MESSAGES(ViewHost) 1667 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/chrome_plugin_lib.cc ('k') | chrome/renderer/renderer_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698