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

Unified Diff: chrome/browser/chromeos/drive/file_errors.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/chromeos/drive/file_errors.h
diff --git a/chrome/browser/chromeos/drive/file_errors.h b/chrome/browser/chromeos/drive/file_errors.h
index 87d7f678f8ce87cf5b96ef39858743f88d07e5cc..d06ff626ff5e13eca71fa09760835ced548c8b02 100644
--- a/chrome/browser/chromeos/drive/file_errors.h
+++ b/chrome/browser/chromeos/drive/file_errors.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_ERRORS_H_
#include "base/callback_forward.h"
-#include "base/platform_file.h"
+#include "base/files/file.h"
#include "google_apis/drive/gdata_errorcode.h"
namespace drive {
@@ -39,8 +39,8 @@ typedef base::Callback<void(FileError error)> FileOperationCallback;
// Returns a string representation of FileError.
std::string FileErrorToString(FileError error);
-// Returns a PlatformFileError that corresponds to the FileError provided.
-base::PlatformFileError FileErrorToPlatformError(FileError error);
+// Returns a base::File::Error that corresponds to the FileError provided.
+base::File::Error FileErrorToBaseFileError(FileError error);
// Converts GData error code into Drive file error code.
FileError GDataToFileError(google_apis::GDataErrorCode status);
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_stream_reader.cc ('k') | chrome/browser/chromeos/drive/file_errors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698