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

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

Issue 6767010: More filesystem cleanup: convert URL-encoded-as-FilePath to actual URL, where (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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: webkit/plugins/ppapi/ppb_file_ref_impl.h
===================================================================
--- webkit/plugins/ppapi/ppb_file_ref_impl.h (revision 79631)
+++ webkit/plugins/ppapi/ppb_file_ref_impl.h (working copy)
@@ -8,6 +8,7 @@
#include <string>
#include "base/file_path.h"
+#include "googleurl/src/gurl.h"
#include "ppapi/c/dev/ppb_file_ref_dev.h"
#include "webkit/plugins/ppapi/resource.h"
@@ -52,6 +53,9 @@
// Returns the system path corresponding to this file.
FilePath GetSystemPath() const;
+ // Returns the FileSystem API URL corresponding to this file.
+ GURL GetFileSystemURL() const;
+
private:
scoped_refptr<PPB_FileSystem_Impl> file_system_;
std::string virtual_path_; // UTF-8 encoded

Powered by Google App Engine
This is Rietveld 408576698