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

Unified Diff: content/browser/file_system/file_system_dispatcher_host.h

Issue 9380040: Revert 121620 - Refactor FileSystemOperation to take callback for each method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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: content/browser/file_system/file_system_dispatcher_host.h
===================================================================
--- content/browser/file_system/file_system_dispatcher_host.h (revision 121622)
+++ content/browser/file_system/file_system_dispatcher_host.h (working copy)
@@ -8,9 +8,7 @@
#include <set>
#include "base/basictypes.h"
-#include "base/file_util_proxy.h"
#include "base/id_map.h"
-#include "base/platform_file.h"
#include "content/public/browser/browser_message_filter.h"
#include "webkit/fileapi/file_system_types.h"
@@ -90,30 +88,6 @@
void OnSyncGetPlatformPath(const GURL& path,
FilePath* platform_path);
- // Callback functions to be used when each file operation is finished.
- void DidFinish(int request_id, base::PlatformFileError result);
- void DidCancel(int request_id, base::PlatformFileError result);
- void DidGetMetadata(int request_id,
- base::PlatformFileError result,
- const base::PlatformFileInfo& info,
- const FilePath& platform_path);
- void DidReadDirectory(int request_id,
- base::PlatformFileError result,
- const std::vector<base::FileUtilProxy::Entry>& entries,
- bool has_more);
- void DidOpenFile(int request_id,
- base::PlatformFileError result,
- base::PlatformFile file,
- base::ProcessHandle peer_handle);
- void DidWrite(int request_id,
- base::PlatformFileError result,
- int64 bytes,
- bool complete);
- void DidOpenFileSystem(int request_id,
- base::PlatformFileError result,
- const std::string& name,
- const GURL& root);
-
// Creates a new FileSystemOperationInterface based on |target_path|.
fileapi::FileSystemOperationInterface* GetNewOperation(
const GURL& target_path,

Powered by Google App Engine
This is Rietveld 408576698