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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 6646005: Creates the ipclist utility that chrome security team has wanted to dump... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « ipc/ipc_message_utils.h ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 20 matching lines...) Expand all
31 #define IPC_MESSAGE_START PpapiMsgStart 31 #define IPC_MESSAGE_START PpapiMsgStart
32 32
33 // These are from the plugin to the renderer 33 // These are from the plugin to the renderer
34 // Loads the given plugin. 34 // Loads the given plugin.
35 IPC_MESSAGE_CONTROL1(PpapiMsg_LoadPlugin, FilePath /* path */) 35 IPC_MESSAGE_CONTROL1(PpapiMsg_LoadPlugin, FilePath /* path */)
36 36
37 // Creates a channel to talk to a renderer. The plugin will respond with 37 // Creates a channel to talk to a renderer. The plugin will respond with
38 // PpapiHostMsg_ChannelCreated. 38 // PpapiHostMsg_ChannelCreated.
39 IPC_MESSAGE_CONTROL2(PpapiMsg_CreateChannel, 39 IPC_MESSAGE_CONTROL2(PpapiMsg_CreateChannel,
40 base::ProcessHandle /* host_process_handle */, 40 base::ProcessHandle /* host_process_handle */,
41 int /* renderer_id */); 41 int /* renderer_id */)
42 42
43 // Each plugin may be referenced by multiple renderers. We need the instance 43 // Each plugin may be referenced by multiple renderers. We need the instance
44 // IDs to be unique within a plugin, despite coming from different renderers, 44 // IDs to be unique within a plugin, despite coming from different renderers,
45 // and unique within a renderer, despite going to different plugins. This means 45 // and unique within a renderer, despite going to different plugins. This means
46 // that neither the renderer nor the plugin can generate instance IDs without 46 // that neither the renderer nor the plugin can generate instance IDs without
47 // consulting the other. 47 // consulting the other.
48 // 48 //
49 // We resolve this by having the renderer generate a unique instance ID inside 49 // We resolve this by having the renderer generate a unique instance ID inside
50 // its process. It then asks the plugin to reserve that ID by sending this sync 50 // its process. It then asks the plugin to reserve that ID by sending this sync
51 // message. If the plugin has not yet seen this ID, it will remember it as used 51 // message. If the plugin has not yet seen this ID, it will remember it as used
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, 338 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create,
339 pp::proxy::HostResource /* file_system */, 339 pp::proxy::HostResource /* file_system */,
340 std::string /* path */, 340 std::string /* path */,
341 pp::proxy::PPBFileRef_CreateInfo /* result */) 341 pp::proxy::PPBFileRef_CreateInfo /* result */)
342 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, 342 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent,
343 pp::proxy::HostResource /* file_ref */, 343 pp::proxy::HostResource /* file_ref */,
344 pp::proxy::PPBFileRef_CreateInfo /* result */) 344 pp::proxy::PPBFileRef_CreateInfo /* result */)
345 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, 345 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory,
346 pp::proxy::HostResource /* file_ref */, 346 pp::proxy::HostResource /* file_ref */,
347 PP_Bool /* make_ancestors */, 347 PP_Bool /* make_ancestors */,
348 uint32_t /* serialized_callback */); 348 uint32_t /* serialized_callback */)
349 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch, 349 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch,
350 pp::proxy::HostResource /* file_ref */, 350 pp::proxy::HostResource /* file_ref */,
351 PP_Time /* last_access */, 351 PP_Time /* last_access */,
352 PP_Time /* last_modified */, 352 PP_Time /* last_modified */,
353 uint32_t /* serialized_callback */); 353 uint32_t /* serialized_callback */)
354 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete, 354 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete,
355 pp::proxy::HostResource /* file_ref */, 355 pp::proxy::HostResource /* file_ref */,
356 uint32_t /* serialized_callback */); 356 uint32_t /* serialized_callback */)
357 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename, 357 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename,
358 pp::proxy::HostResource /* file_ref */, 358 pp::proxy::HostResource /* file_ref */,
359 pp::proxy::HostResource /* new_file_ref */, 359 pp::proxy::HostResource /* new_file_ref */,
360 uint32_t /* serialized_callback */); 360 uint32_t /* serialized_callback */)
361 361
362 // PPB_FileSystem. 362 // PPB_FileSystem.
363 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, 363 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create,
364 PP_Instance /* instance */, 364 PP_Instance /* instance */,
365 int /* type */, 365 int /* type */,
366 pp::proxy::HostResource /* result */) 366 pp::proxy::HostResource /* result */)
367 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, 367 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open,
368 pp::proxy::HostResource /* result */, 368 pp::proxy::HostResource /* result */,
369 int64_t /* expected_size */) 369 int64_t /* expected_size */)
370 370
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, 718 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated,
719 pp::proxy::SerializedVar /* var */, 719 pp::proxy::SerializedVar /* var */,
720 int64 /* object_class */, 720 int64 /* object_class */,
721 int64 /* object-data */, 721 int64 /* object-data */,
722 PP_Bool /* result */) 722 PP_Bool /* result */)
723 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 723 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
724 PP_Instance /* instance */, 724 PP_Instance /* instance */,
725 int64 /* object_class */, 725 int64 /* object_class */,
726 int64 /* object_data */, 726 int64 /* object_data */,
727 pp::proxy::SerializedVar /* result */) 727 pp::proxy::SerializedVar /* result */)
OLDNEW
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698