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

Unified Diff: trunk/src/content/browser/renderer_host/pepper/pepper_file_ref_host.h

Issue 23647008: Revert 221284 "Pepper: Move FileRef to the "new" resource proxy." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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: trunk/src/content/browser/renderer_host/pepper/pepper_file_ref_host.h
===================================================================
--- trunk/src/content/browser/renderer_host/pepper/pepper_file_ref_host.h (revision 221543)
+++ trunk/src/content/browser/renderer_host/pepper/pepper_file_ref_host.h (working copy)
@@ -42,6 +42,8 @@
virtual int32_t GetAbsolutePath(
ppapi::host::ReplyMessageContext context) = 0;
virtual fileapi::FileSystemURL GetFileSystemURL() const = 0;
+ virtual std::string GetFileSystemURLSpec() const = 0;
+ virtual base::FilePath GetExternalPath() const = 0;
// Returns an error from the pp_errors.h enum.
virtual int32_t CanRead() const = 0;
@@ -77,6 +79,10 @@
PP_FileSystemType GetFileSystemType() const;
fileapi::FileSystemURL GetFileSystemURL() const;
+ // Required to support FileIO.
+ std::string GetFileSystemURLSpec() const;
+ base::FilePath GetExternalPath() const;
+
int32_t CanRead() const;
int32_t CanWrite() const;
int32_t CanCreate() const;

Powered by Google App Engine
This is Rietveld 408576698