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

Unified Diff: webkit/glue/plugins/pepper_file_io.h

Issue 3255003: Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to Gr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « webkit/glue/plugins/pepper_file_chooser.cc ('k') | webkit/glue/plugins/pepper_file_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_file_io.h
===================================================================
--- webkit/glue/plugins/pepper_file_io.h (revision 57791)
+++ webkit/glue/plugins/pepper_file_io.h (working copy)
@@ -8,10 +8,10 @@
#include "third_party/ppapi/c/pp_time.h"
#include "webkit/glue/plugins/pepper_resource.h"
-typedef struct _pp_CompletionCallback PP_CompletionCallback;
-typedef struct _pp_FileInfo PP_FileInfo;
-typedef struct _ppb_FileIO PPB_FileIO;
-typedef struct _ppb_FileIOTrusted PPB_FileIOTrusted;
+struct PP_CompletionCallback;
+struct PP_FileInfo_Dev;
+struct PPB_FileIO_Dev;
+struct PPB_FileIOTrusted_Dev;
namespace pepper {
@@ -24,11 +24,11 @@
// Returns a pointer to the interface implementing PPB_FileIO that is exposed
// to the plugin.
- static const PPB_FileIO* GetInterface();
+ static const PPB_FileIO_Dev* GetInterface();
// Returns a pointer to the interface implementing PPB_FileIOTrusted that is
// exposed to the plugin.
- static const PPB_FileIOTrusted* GetTrustedInterface();
+ static const PPB_FileIOTrusted_Dev* GetTrustedInterface();
// Resource overrides.
FileIO* AsFileIO() { return this; }
@@ -37,7 +37,7 @@
int32_t Open(FileRef* file_ref,
int32_t open_flags,
PP_CompletionCallback callback);
- int32_t Query(PP_FileInfo* info,
+ int32_t Query(PP_FileInfo_Dev* info,
PP_CompletionCallback callback);
int32_t Touch(PP_Time last_access_time,
PP_Time last_modified_time,
« no previous file with comments | « webkit/glue/plugins/pepper_file_chooser.cc ('k') | webkit/glue/plugins/pepper_file_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698