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

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

Issue 13726024: Refactor FileSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NON_EXPORTED_BASE Created 7 years, 8 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/webkit_glue.gypi ('k') | webkit/plugins/ppapi/file_callbacks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/file_callbacks.h
diff --git a/webkit/plugins/ppapi/file_callbacks.h b/webkit/plugins/ppapi/file_callbacks.h
index 3ba51c16c7e767af600f1038aac9bbefa8f05a0d..c45932ab885a44532ab692201798f4b27544bbac 100644
--- a/webkit/plugins/ppapi/file_callbacks.h
+++ b/webkit/plugins/ppapi/file_callbacks.h
@@ -11,7 +11,9 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/platform_file.h"
+#include "googleurl/src/gurl.h"
#include "ppapi/c/pp_completion_callback.h"
+#include "ppapi/c/pp_file_info.h"
#include "ppapi/c/pp_resource.h"
#include "webkit/fileapi/file_system_callback_dispatcher.h"
@@ -29,16 +31,16 @@ class TrackedCallback;
namespace webkit {
namespace ppapi {
-class PPB_DirectoryReader_Impl;
-class PPB_FileSystem_Impl;
-
// Instances of this class are deleted by FileSystemDispatcher.
class FileCallbacks : public fileapi::FileSystemCallbackDispatcher {
public:
FileCallbacks(::ppapi::Resource* resource,
scoped_refptr< ::ppapi::TrackedCallback> callback,
+ PP_FileInfo* info);
+ FileCallbacks(::ppapi::Resource* resource,
+ scoped_refptr< ::ppapi::TrackedCallback> callback,
PP_FileInfo* info,
- scoped_refptr<PPB_FileSystem_Impl> file_system);
+ PP_FileSystemType file_system_type);
virtual ~FileCallbacks();
// FileSystemCallbackDispatcher implementation.
@@ -63,7 +65,7 @@ class FileCallbacks : public fileapi::FileSystemCallbackDispatcher {
scoped_refptr< ::ppapi::TrackedCallback> callback_;
PP_FileInfo* info_;
- scoped_refptr<PPB_FileSystem_Impl> file_system_;
+ PP_FileSystemType file_system_type_;
};
} // namespace ppapi
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/file_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698