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

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

Issue 6833002: Implemented PPB_Broker_Proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review feedback Created 9 years, 8 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
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // 76 //
77 // The handler of this message should always close all of the handles passed 77 // The handler of this message should always close all of the handles passed
78 // in, since some could be valid even in the error case. 78 // in, since some could be valid even in the error case.
79 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, 79 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated,
80 pp::proxy::HostResource /* audio_id */, 80 pp::proxy::HostResource /* audio_id */,
81 int32_t /* result_code (will be != PP_OK on failure) */, 81 int32_t /* result_code (will be != PP_OK on failure) */,
82 IPC::PlatformFileForTransit /* socket_handle */, 82 IPC::PlatformFileForTransit /* socket_handle */,
83 base::SharedMemoryHandle /* handle */, 83 base::SharedMemoryHandle /* handle */,
84 int32_t /* length */) 84 int32_t /* length */)
85 85
86 // PPB_Broker.
87 IPC_MESSAGE_ROUTED3(
88 PpapiMsg_PPBBroker_ConnectComplete,
89 pp::proxy::HostResource /* broker */,
90 IPC::PlatformFileForTransit /* handle */,
91 int32_t /* result */)
92
86 // PPB_FileChooser. 93 // PPB_FileChooser.
87 IPC_MESSAGE_ROUTED3( 94 IPC_MESSAGE_ROUTED3(
88 PpapiMsg_PPBFileChooser_ChooseComplete, 95 PpapiMsg_PPBFileChooser_ChooseComplete,
89 pp::proxy::HostResource /* chooser */, 96 pp::proxy::HostResource /* chooser */,
90 int32_t /* result_code (will be != PP_OK on failure */, 97 int32_t /* result_code (will be != PP_OK on failure */,
91 std::vector<pp::proxy::PPBFileRef_CreateInfo> /* chosen_files */) 98 std::vector<pp::proxy::PPBFileRef_CreateInfo> /* chosen_files */)
92 99
93 // PPB_FileSystem. 100 // PPB_FileSystem.
94 IPC_MESSAGE_ROUTED2( 101 IPC_MESSAGE_ROUTED2(
95 PpapiMsg_PPBFileSystem_OpenComplete, 102 PpapiMsg_PPBFileSystem_OpenComplete,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 PP_Instance /* instance */, 234 PP_Instance /* instance */,
228 int32_t /* sample_rate */, 235 int32_t /* sample_rate */,
229 uint32_t /* sample_frame_count */, 236 uint32_t /* sample_frame_count */,
230 pp::proxy::HostResource /* result */) 237 pp::proxy::HostResource /* result */)
231 IPC_SYNC_MESSAGE_ROUTED2_1( 238 IPC_SYNC_MESSAGE_ROUTED2_1(
232 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount, 239 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount,
233 int32_t /* sample_rate */, 240 int32_t /* sample_rate */,
234 uint32_t /* requested */, 241 uint32_t /* requested */,
235 uint32_t /* result */) 242 uint32_t /* result */)
236 243
244 // PPB_Broker.
245 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create,
246 PP_Instance /* instance */,
247 pp::proxy::HostResource /* result_resource */)
248 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect,
249 pp::proxy::HostResource /* broker */)
250
237 // PPB_Buffer. 251 // PPB_Buffer.
238 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, 252 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create,
239 PP_Instance /* instance */, 253 PP_Instance /* instance */,
240 uint32_t /* size */, 254 uint32_t /* size */,
241 pp::proxy::HostResource /* result_resource */, 255 pp::proxy::HostResource /* result_resource */,
242 int32_t /* result_shm_handle */) 256 int32_t /* result_shm_handle */)
243 257
244 // PPB_Console. 258 // PPB_Console.
245 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBConsole_Log, 259 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBConsole_Log,
246 PP_Instance /* instance */, 260 PP_Instance /* instance */,
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, 759 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated,
746 pp::proxy::SerializedVar /* var */, 760 pp::proxy::SerializedVar /* var */,
747 int64 /* object_class */, 761 int64 /* object_class */,
748 int64 /* object-data */, 762 int64 /* object-data */,
749 PP_Bool /* result */) 763 PP_Bool /* result */)
750 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 764 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
751 PP_Instance /* instance */, 765 PP_Instance /* instance */,
752 int64 /* object_class */, 766 int64 /* object_class */,
753 int64 /* object_data */, 767 int64 /* object_data */,
754 pp::proxy::SerializedVar /* result */) 768 pp::proxy::SerializedVar /* result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698