Home
last modified time | relevance | path

Searched refs:reply_params (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/ppapi/proxy/
Dplugin_message_filter.cc58 const ResourceMessageReplyParams& reply_params, in DispatchResourceReplyForTest() argument
60 DispatchResourceReply(reply_params, nested_msg); in DispatchResourceReplyForTest()
82 const ResourceMessageReplyParams& reply_params, in OnMsgResourceReply() argument
86 reply_params.pp_resource(), reply_params.sequence()); in OnMsgResourceReply()
90 base::Bind(&DispatchResourceReply, reply_params, nested_msg)); in OnMsgResourceReply()
95 const ResourceMessageReplyParams& reply_params, in DispatchResourceReply() argument
99 reply_params.pp_resource()); in DispatchResourceReply()
101 DVLOG_IF(1, reply_params.sequence() != 0) in DispatchResourceReply()
106 resource->OnReplyReceived(reply_params, nested_msg); in DispatchResourceReply()
Dtalk_resource_unittest.cc59 ResourceMessageReplyParams reply_params(params.pp_resource(), in SendReply() local
61 reply_params.set_result(result); in SendReply()
62 PluginMessageFilter::DispatchResourceReplyForTest(reply_params, reply); in SendReply()
84 ResourceMessageReplyParams reply_params(params.pp_resource(), in TEST_F() local
86 reply_params.set_result(1); in TEST_F()
88 reply_params, PpapiPluginMsg_Talk_RequestPermissionReply()); in TEST_F()
110 ResourceMessageReplyParams reply_params(params.pp_resource(), in TEST_F() local
112 reply_params.set_result(1); in TEST_F()
114 reply_params, PpapiPluginMsg_Talk_RequestPermissionReply()); in TEST_F()
Dplugin_resource.h151 ResourceMessageReplyParams* reply_params);
221 ResourceMessageReplyParams reply_params; in SyncCall() local
222 return GenericSyncCall(dest, msg, &reply, &reply_params); in SyncCall()
229 ResourceMessageReplyParams reply_params; in SyncCall() local
230 int32_t result = GenericSyncCall(dest, msg, &reply, &reply_params); in SyncCall()
241 ResourceMessageReplyParams reply_params; in SyncCall() local
242 int32_t result = GenericSyncCall(dest, msg, &reply, &reply_params); in SyncCall()
253 ResourceMessageReplyParams reply_params; in SyncCall() local
254 int32_t result = GenericSyncCall(dest, msg, &reply, &reply_params); in SyncCall()
265 ResourceMessageReplyParams reply_params; in SyncCall() local
[all …]
Dwebsocket_resource_unittest.cc85 ResourceMessageReplyParams reply_params(params.pp_resource(), in TEST_F() local
87 reply_params.set_result(PP_OK); in TEST_F()
89 reply_params, PpapiPluginMsg_WebSocket_ConnectReply(url, protocol1)); in TEST_F()
103 ResourceMessageReplyParams reply_params(res.get(), 0); in TEST_F() local
104 reply_params.set_result(PP_OK); in TEST_F()
106 reply_params, PpapiPluginMsg_WebSocket_BufferedAmountReply(19760227u)); in TEST_F()
113 reply_params, in TEST_F()
Dvideo_source_resource.cc86 const ResourceMessageReplyParams& reply_params) { in OnPluginMsgOpenComplete() argument
88 int32_t result = reply_params.result(); in OnPluginMsgOpenComplete()
97 const ResourceMessageReplyParams& reply_params, in OnPluginMsgGetFrameComplete() argument
103 int32_t result = reply_params.result(); in OnPluginMsgGetFrameComplete()
109 if (!reply_params.TakeSharedMemoryHandleAtIndex(0, &handle)) in OnPluginMsgGetFrameComplete()
Ddevice_enumeration_resource_helper_unittest.cc246 ResourceMessageReplyParams reply_params(params.pp_resource(), in TEST_F() local
248 reply_params.set_result(PP_OK); in TEST_F()
263 reply_params, in TEST_F()
298 ResourceMessageReplyParams reply_params(params.pp_resource(), 0); in TEST_F() local
299 reply_params.set_result(PP_OK); in TEST_F()
308 reply_params, in TEST_F()
330 reply_params, in TEST_F()
359 reply_params, in TEST_F()
373 reply_params, in TEST_F()
396 reply_params, in TEST_F()
Dplugin_message_filter.h55 const ResourceMessageReplyParams& reply_params,
60 void OnMsgResourceReply(const ResourceMessageReplyParams& reply_params,
66 const ResourceMessageReplyParams& reply_params,
Ddispatch_reply_message.h92 const ResourceMessageReplyParams& reply_params, in DispatchResourceReplyOrDefaultParams() argument
103 DispatchResourceReply(obj, method, reply_params, msg_params); in DispatchResourceReplyOrDefaultParams()
113 DispatchResourceReply(obj, method, reply_params, in DispatchResourceReplyOrDefaultParams()
125 const ResourceMessageReplyParams& reply_params, in DispatchResourceReplyOrDefaultParams() argument
129 (obj->*method)(reply_params); in DispatchResourceReplyOrDefaultParams()
Dresource_message_test_sink.cc115 ResourceMessageReplyParams reply_params(call_params.pp_resource(), in OnMessageReceived() local
117 reply_params.set_result(result_); in OnMessageReceived()
119 reply_params.AppendHandle(*serialized_handle_); in OnMessageReceived()
121 wrapper_reply_msg, reply_params, reply_msg_); in OnMessageReceived()
Dflash_file_resource.cc147 ResourceMessageReplyParams reply_params; in CreateTemporaryFile() local
149 PpapiHostMsg_FlashFile_CreateTemporaryFile(), &unused, &reply_params); in CreateTemporaryFile()
154 if (!reply_params.TakeFileHandleAtIndex(0, &transit_file)) in CreateTemporaryFile()
188 ResourceMessageReplyParams reply_params; in OpenFileHelper() local
191 &reply_params); in OpenFileHelper()
196 if (!reply_params.TakeFileHandleAtIndex(0, &transit_file)) in OpenFileHelper()
Dprinting_resource_unittest.cc66 ResourceMessageReplyParams reply_params(params.pp_resource(), in TEST_F() local
68 reply_params.set_result(PP_OK); in TEST_F()
81 reply_params, in TEST_F()
Dplugin_resource_callback.h37 const ResourceMessageReplyParams& reply_params, in Run() argument
40 &callback_, &CallbackType::Run, reply_params, msg); in Run()
Dvideo_source_resource.h49 const ResourceMessageReplyParams& reply_params);
52 const ResourceMessageReplyParams& reply_params,
Dfile_chooser_resource_unittest.cc91 ResourceMessageReplyParams reply_params(params.pp_resource(), in TEST_F() local
93 reply_params.set_result(PP_OK); in TEST_F()
106 reply_params, PpapiPluginMsg_FileChooser_ShowReply(create_info_array)); in TEST_F()
Dplugin_resource.cc142 ResourceMessageReplyParams* reply_params) { in GenericSyncCall() argument
149 params, msg, reply_params, reply)); in GenericSyncCall()
151 return reply_params->result(); in GenericSyncCall()
Dpdf_resource.cc162 ResourceMessageReplyParams reply_params; in GetResourceImageForScale() local
165 &reply_params); in GetResourceImageForScale()
182 if (!reply_params.TakeSharedMemoryHandleAtIndex(0, &handle)) in GetResourceImageForScale()
/external/chromium_org/content/renderer/pepper/
Dpepper_device_enumeration_host_helper_unittest.cc102 ppapi::proxy::ResourceMessageReplyParams reply_params; in CheckNotifyDeviceChangeMessage() local
106 &reply_params, &reply_msg)); in CheckNotifyDeviceChangeMessage()
109 EXPECT_EQ(PP_OK, reply_params.result()); in CheckNotifyDeviceChangeMessage()
162 ppapi::proxy::ResourceMessageReplyParams reply_params; in TEST_F() local
166 &reply_params, &reply_msg)); in TEST_F()
168 EXPECT_EQ(call_params.sequence(), reply_params.sequence()); in TEST_F()
169 EXPECT_EQ(PP_OK, reply_params.result()); in TEST_F()
Dpepper_in_process_router.cc79 ppapi::proxy::ResourceMessageReplyParams reply_params; in OnPluginMsgReceived() local
84 if (!UnpackMessage<PpapiPluginMsg_ResourceReply>(msg, &reply_params, in OnPluginMsgReceived()
91 if (!UnpackMessage<PpapiHostMsg_InProcessResourceReply>(msg, &reply_params, in OnPluginMsgReceived()
101 reply_params.pp_resource()); in OnPluginMsgReceived()
105 resource->OnReplyReceived(reply_params, nested_msg); in OnPluginMsgReceived()
Dpepper_file_chooser_host_unittest.cc115 ppapi::proxy::ResourceMessageReplyParams reply_params; in TEST_F() local
118 PpapiPluginMsg_FileChooser_ShowReply::ID, &reply_params, &reply_msg)); in TEST_F()
121 EXPECT_EQ(call_params.sequence(), reply_params.sequence()); in TEST_F()
122 EXPECT_EQ(PP_OK, reply_params.result()); in TEST_F()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_printing_host_unittest.cc99 ppapi::proxy::ResourceMessageReplyParams reply_params; in TEST_F() local
102 PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply::ID, &reply_params, in TEST_F()
106 EXPECT_EQ(call_params.sequence(), reply_params.sequence()); in TEST_F()
107 EXPECT_EQ(PP_OK, reply_params.result()); in TEST_F()
Dpepper_gamepad_host_unittest.cc174 ppapi::proxy::ResourceMessageReplyParams reply_params; in TEST_F() local
177 PpapiPluginMsg_Gamepad_SendMemory::ID, &reply_params, &reply_msg)); in TEST_F()
181 EXPECT_TRUE(reply_params.TakeSharedMemoryHandleAtIndex(0, &reply_handle)); in TEST_F()
/external/chromium_org/ppapi/host/
Dhost_message_context.cc52 ppapi::proxy::ResourceMessageReplyParams reply_params(params.pp_resource(), in MakeReplyMessageContext() local
54 return ReplyMessageContext(reply_params, sync_reply_msg, routing_id); in MakeReplyMessageContext()
/external/chromium_org/ipc/
Dipc_message_utils.h759 inline void LogReplyParamsToMessage(const ReplyParamType& reply_params,
763 LogParam(reply_params, &output_params);
783 inline void LogReplyParamsToMessage(const ReplyParamType& reply_params,
824 typename TupleTypes<ReplyParam>::ValueTuple reply_params;
825 DispatchToMethod(obj, func, send_params, &reply_params);
826 WriteParam(reply, reply_params);
827 LogReplyParamsToMessage(reply_params, msg);