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

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

Issue 18604: Fix a timing issue that caused gears to fail to load sometimes.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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_switches.cc ('k') | chrome/plugin/chrome_plugin_host.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "base/shared_memory.h" 5 #include "base/shared_memory.h"
6 #include "chrome/common/ipc_message_macros.h" 6 #include "chrome/common/ipc_message_macros.h"
7 #include "webkit/glue/webcursor.h" 7 #include "webkit/glue/webcursor.h"
8 8
9 //----------------------------------------------------------------------------- 9 //-----------------------------------------------------------------------------
10 // PluginProcess messages 10 // PluginProcess messages
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // data to an instance of the same plugin loaded in the browser process. 55 // data to an instance of the same plugin loaded in the browser process.
56 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginMessage, 56 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginMessage,
57 std::vector<uint8> /* opaque data */) 57 std::vector<uint8> /* opaque data */)
58 58
59 // Allows a chrome plugin loaded in a plugin process to send arbitrary 59 // Allows a chrome plugin loaded in a plugin process to send arbitrary
60 // data to an instance of the same plugin loaded in the browser process. 60 // data to an instance of the same plugin loaded in the browser process.
61 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_PluginSyncMessage, 61 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_PluginSyncMessage,
62 std::vector<uint8> /* opaque data */, 62 std::vector<uint8> /* opaque data */,
63 std::vector<uint8> /* opaque data response */) 63 std::vector<uint8> /* opaque data response */)
64 64
65 // Retrieve the given type of info that is associated with the given
66 // CPBrowsingContext. Returns the result in a string.
67 IPC_SYNC_MESSAGE_CONTROL0_1(PluginProcessHostMsg_GetPluginDataDir,
68 std::wstring /* data_dir_retval */)
69
70 // Used to get cookies for the given URL. The request_context is a 65 // Used to get cookies for the given URL. The request_context is a
71 // CPBrowsingContext, but is passed as int32 to avoid compilation errors. 66 // CPBrowsingContext, but is passed as int32 to avoid compilation errors.
72 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_GetCookies, 67 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_GetCookies,
73 int32 /* request_context */, 68 int32 /* request_context */,
74 GURL /* url */, 69 GURL /* url */,
75 std::string /* cookies */) 70 std::string /* cookies */)
76 71
77 // Get the list of proxies to use for |url|, as a semicolon delimited list 72 // Get the list of proxies to use for |url|, as a semicolon delimited list
78 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". 73 // of "<TYPE> <HOST>:<PORT>" | "DIRECT".
79 IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy, 74 IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy,
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 std::string /* script */, 315 std::string /* script */,
321 bool /* popups_allowed */, 316 bool /* popups_allowed */,
322 NPVariant_Param /* result_param */, 317 NPVariant_Param /* result_param */,
323 bool /* result */) 318 bool /* result */)
324 319
325 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, 320 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException,
326 std::string /* message */) 321 std::string /* message */)
327 322
328 IPC_END_MESSAGES(NPObject) 323 IPC_END_MESSAGES(NPObject)
329 324
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/plugin/chrome_plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698