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

Unified Diff: chrome/common/file_system/file_system_dispatcher.h

Issue 3245010: Revert 57915 - Add final part of IPC plumbing for FileSystem API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « chrome/common/common_param_traits.cc ('k') | chrome/common/file_system/file_system_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/file_system/file_system_dispatcher.h
===================================================================
--- chrome/common/file_system/file_system_dispatcher.h (revision 57922)
+++ chrome/common/file_system/file_system_dispatcher.h (working copy)
@@ -13,20 +13,11 @@
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_message.h"
-#include "third_party/WebKit/WebKit/chromium/public/WebFileError.h"
namespace WebKit {
-struct WebFileInfo;
class WebFileSystemCallbacks;
-struct WebFileSystemEntry;
}
-namespace file_util {
-struct FileInfo;
-}
-
-struct ViewMsg_FileSystem_DidReadDirectory_Params;
-
// Dispatches and sends file system related messages sent to/from a child
// process from/to the main browser process. There is one instance
// per child process. Messages are dispatched on the main child thread.
@@ -41,39 +32,13 @@
const string16& src_path,
const string16& dest_path,
WebKit::WebFileSystemCallbacks* callbacks);
- void Copy(
- const string16& src_path,
- const string16& dest_path,
- WebKit::WebFileSystemCallbacks* callbacks);
- void Remove(
- const string16& path,
- WebKit::WebFileSystemCallbacks* callbacks);
- void ReadMetadata(
- const string16& path,
- WebKit::WebFileSystemCallbacks* callbacks);
- void Create(
- const string16& path,
- bool exclusive,
- bool for_directory,
- WebKit::WebFileSystemCallbacks* callbacks);
- void Exists(
- const string16& path,
- bool for_directory,
- WebKit::WebFileSystemCallbacks* callbacks);
- void ReadDirectory(
- const string16& path,
- WebKit::WebFileSystemCallbacks* callbacks);
+ // TODO(kinuko): add more implementation.
+
private:
- void DidSucceed(int request_id);
- void DidReadMetadata(
- int request_id,
- const file_util::FileInfo& file_info);
- void DidReadDirectory(
- const ViewMsg_FileSystem_DidReadDirectory_Params& params);
- void DidFail(
- int request_id,
- WebKit::WebFileError);
+ void DidSucceed(int32 callbacks_id);
+ void DidFail(int32 callbacks_id, int code);
+ // TODO(kinuko): add more callbacks.
IDMap<WebKit::WebFileSystemCallbacks> callbacks_;
« no previous file with comments | « chrome/common/common_param_traits.cc ('k') | chrome/common/file_system/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698