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

Unified Diff: webkit/glue/plugins/pepper_file_ref.cc

Issue 2925007: Update Chrome to pull latest PPAPI with new uses of point and size.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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_io.cc ('k') | webkit/glue/plugins/pepper_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_file_ref.cc
===================================================================
--- webkit/glue/plugins/pepper_file_ref.cc (revision 51996)
+++ webkit/glue/plugins/pepper_file_ref.cc (working copy)
@@ -55,11 +55,11 @@
}
PP_Resource CreatePersistentFileRef(PP_Instance instance_id, const char* path) {
- return CreateFileRef(instance_id, PP_FileSystemType_LocalPersistent, path);
+ return CreateFileRef(instance_id, PP_FILESYSTEMTYPE_LOCALPERSISTENT, path);
}
PP_Resource CreateTemporaryFileRef(PP_Instance instance_id, const char* path) {
- return CreateFileRef(instance_id, PP_FileSystemType_LocalTemporary, path);
+ return CreateFileRef(instance_id, PP_FILESYSTEMTYPE_LOCALTEMPORARY, path);
}
bool IsFileRef(PP_Resource resource) {
@@ -69,7 +69,7 @@
PP_FileSystemType GetFileSystemType(PP_Resource file_ref_id) {
scoped_refptr<FileRef> file_ref(Resource::GetAs<FileRef>(file_ref_id));
if (!file_ref.get())
- return PP_FileSystemType_External;
+ return PP_FILESYSTEMTYPE_EXTERNAL;
return file_ref->file_system_type();
}
@@ -87,7 +87,7 @@
if (!file_ref.get())
return PP_MakeVoid();
- if (file_ref->file_system_type() == PP_FileSystemType_External)
+ if (file_ref->file_system_type() == PP_FILESYSTEMTYPE_EXTERNAL)
return PP_MakeVoid();
return StringToPPVar(file_ref->path());
@@ -98,7 +98,7 @@
if (!file_ref.get())
return 0;
- if (file_ref->file_system_type() == PP_FileSystemType_External)
+ if (file_ref->file_system_type() == PP_FILESYSTEMTYPE_EXTERNAL)
return 0;
scoped_refptr<FileRef> parent_ref(file_ref->GetParent());
« no previous file with comments | « webkit/glue/plugins/pepper_file_io.cc ('k') | webkit/glue/plugins/pepper_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698