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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 730603002: PPAPI: Refactor renderer side of browser host creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sequence_id->sequence_num Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index 135786cd220cd14ac3d8118aaaa6d308ee5b3694..ccbae93ea87f51fcc5f533b20d6077bec1da9afe 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -429,6 +429,11 @@ IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs)
IPC_STRUCT_TRAITS_MEMBER(switch_values)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::CompletedBrowserResourceHosts)
+ IPC_STRUCT_TRAITS_MEMBER(sequence_num)
Tom Sepez 2014/11/14 20:33:58 nit: some truly compulsive folks might want you to
dmichael (off chromium) 2014/11/17 22:26:20 I can sympathize. Changed.
+ IPC_STRUCT_TRAITS_MEMBER(host_ids)
+IPC_STRUCT_TRAITS_END()
+
#if !defined(OS_NACL) && !defined(NACL_WIN64)
IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer)
@@ -1336,10 +1341,9 @@ IPC_MESSAGE_CONTROL5(
// in the request and the IDs of the pending ResourceHosts which were created in
// the browser. These IDs are only useful for the plugin which can attach to the
// ResourceHosts in the browser.
-IPC_MESSAGE_ROUTED2(
+IPC_MESSAGE_ROUTED1(
PpapiHostMsg_CreateResourceHostsFromHostReply,
- int32_t /* sequence */,
- std::vector<int> /* pending_host_ids */)
+ ppapi::proxy::CompletedBrowserResourceHosts /* completed_hosts */)
//-----------------------------------------------------------------------------
// Messages for resources using call/reply above.

Powered by Google App Engine
This is Rietveld 408576698