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

Unified Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 10387195: Open pepper files directly in browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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: webkit/plugins/ppapi/mock_plugin_delegate.h
===================================================================
--- webkit/plugins/ppapi/mock_plugin_delegate.h (revision 140544)
+++ webkit/plugins/ppapi/mock_plugin_delegate.h (working copy)
@@ -96,18 +96,24 @@
const AvailableSpaceCallback& callback);
virtual void WillUpdateFile(const GURL& file_path);
virtual void DidUpdateFile(const GURL& file_path, int64_t delta);
- virtual base::PlatformFileError OpenFile(const PepperFilePath& path,
- int flags,
- base::PlatformFile* file);
- virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path,
- const PepperFilePath& to_path);
- virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path,
- bool recursive);
- virtual base::PlatformFileError CreateDir(const PepperFilePath& path);
- virtual base::PlatformFileError QueryFile(const PepperFilePath& path,
- base::PlatformFileInfo* info);
- virtual base::PlatformFileError GetDirContents(const PepperFilePath& path,
- DirContents* contents);
+ virtual base::PlatformFileError OpenFile(
+ const ::ppapi::PepperFilePath& path,
+ int flags,
+ base::PlatformFile* file);
+ virtual base::PlatformFileError RenameFile(
+ const ::ppapi::PepperFilePath& from_path,
+ const ::ppapi::PepperFilePath& to_path);
+ virtual base::PlatformFileError DeleteFileOrDir(
+ const ::ppapi::PepperFilePath& path,
+ bool recursive);
+ virtual base::PlatformFileError CreateDir(
+ const ::ppapi::PepperFilePath& path);
+ virtual base::PlatformFileError QueryFile(
+ const ::ppapi::PepperFilePath& path,
+ base::PlatformFileInfo* info);
+ virtual base::PlatformFileError GetDirContents(
+ const ::ppapi::PepperFilePath& path,
+ ::ppapi::DirContents* contents);
virtual void SyncGetFileSystemPlatformPath(const GURL& url,
FilePath* platform_path);
virtual scoped_refptr<base::MessageLoopProxy>

Powered by Google App Engine
This is Rietveld 408576698