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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 9728001: Make the file chooser use PP_ArrayOutput (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 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 dbcbbd1a16594470f6e07a10a035ed70cbb53de9..62cb3b4933bd18df47caf9eabc5c26f7a0b78e49 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -678,8 +678,8 @@ IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create,
ppapi::HostResource /* result */)
IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show,
ppapi::HostResource /* file_chooser */,
- bool /* save_as */,
- std::string /* suggested_file_name */,
+ PP_Bool /* save_as */,
viettrungluu 2012/03/26 16:55:19 Is there any particular advantage to this change?
brettw 2012/03/26 17:08:06 This saves conversion code. This way to only conve
+ ppapi::proxy::SerializedVar /* suggested_file_name */,
viettrungluu 2012/03/26 16:55:19 And this one?
brettw 2012/03/26 17:08:06 Ditto, otherwise we need to convert from a PP_Var
bool /* require_user_gesture */)
// PPB_FileIO.

Powered by Google App Engine
This is Rietveld 408576698