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

Unified Diff: chrome/browser/sync_file_system/sync_status_code.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/sync_status_code.h
diff --git a/chrome/browser/sync_file_system/sync_status_code.h b/chrome/browser/sync_file_system/sync_status_code.h
index 2cd7281a9786abf4302034e27dafaa52d961793d..d26243818696b403ca932756ad3a5f5a11a6e070 100644
--- a/chrome/browser/sync_file_system/sync_status_code.h
+++ b/chrome/browser/sync_file_system/sync_status_code.h
@@ -7,7 +7,7 @@
#include <string>
-#include "base/platform_file.h"
+#include "base/files/file.h"
namespace leveldb {
class Status;
@@ -23,7 +23,7 @@ enum SyncStatusCode {
// submodule error code (yet).
SYNC_STATUS_FAILED = -1001,
- // Basic ones that could be directly mapped to PlatformFileError.
+ // Basic ones that could be directly mapped to File::Error.
SYNC_FILE_ERROR_FAILED = -1,
SYNC_FILE_ERROR_IN_USE = -2,
SYNC_FILE_ERROR_EXISTS = -3,
@@ -67,11 +67,9 @@ const char* SyncStatusCodeToString(SyncStatusCode status);
SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status);
-SyncStatusCode PlatformFileErrorToSyncStatusCode(
- base::PlatformFileError file_error);
+SyncStatusCode FileErrorToSyncStatusCode(base::File::Error file_error);
-base::PlatformFileError SyncStatusCodeToPlatformFileError(
- SyncStatusCode status);
+base::File::Error SyncStatusCodeToFileError(SyncStatusCode status);
} // namespace sync_file_system

Powered by Google App Engine
This is Rietveld 408576698