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

Unified Diff: chrome/browser/sync_file_system/local/root_delete_helper.h

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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: chrome/browser/sync_file_system/local/root_delete_helper.h
diff --git a/chrome/browser/sync_file_system/local/root_delete_helper.h b/chrome/browser/sync_file_system/local/root_delete_helper.h
index a9dde0c90060e1064854ca53a4c16f6873fbf4a9..c4fb1f74b58fdf91ad72e0254e7b5d3507a3f99d 100644
--- a/chrome/browser/sync_file_system/local/root_delete_helper.h
+++ b/chrome/browser/sync_file_system/local/root_delete_helper.h
@@ -7,9 +7,9 @@
#include "base/basictypes.h"
#include "base/callback.h"
+#include "base/files/file.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "base/platform_file.h"
#include "webkit/browser/fileapi/file_system_url.h"
class GURL;
@@ -30,7 +30,7 @@ class LocalFileSyncStatus;
// Expected to be called on and will callback on IO thread.
class RootDeleteHelper {
public:
- typedef base::Callback<void(base::PlatformFileError)> FileStatusCallback;
+ typedef base::Callback<void(base::File::Error)> FileStatusCallback;
RootDeleteHelper(fileapi::FileSystemContext* file_system_context,
LocalFileSyncStatus* sync_status,
@@ -41,11 +41,11 @@ class RootDeleteHelper {
void Run();
private:
- void DidDeleteFileSystem(base::PlatformFileError error);
+ void DidDeleteFileSystem(base::File::Error error);
void DidResetFileChangeTracker();
void DidOpenFileSystem(const GURL& root,
const std::string& name,
- base::PlatformFileError error);
+ base::File::Error error);
scoped_refptr<fileapi::FileSystemContext> file_system_context_;
const fileapi::FileSystemURL url_;

Powered by Google App Engine
This is Rietveld 408576698