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

Unified Diff: chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc

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/media_galleries/fileapi/media_file_validator_factory.cc
diff --git a/chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc b/chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc
index f7e94347a542c26b87a988934364b7908991aff9..aa1559bb3bae559ae2e75aec3f0d76cb5ff6b085 100644
--- a/chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc
+++ b/chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc
@@ -19,14 +19,14 @@ class InvalidFileValidator : public fileapi::CopyOrMoveFileValidator {
virtual void StartPreWriteValidation(
const fileapi::CopyOrMoveFileValidator::ResultCallback&
result_callback) OVERRIDE {
- result_callback.Run(base::PLATFORM_FILE_ERROR_SECURITY);
+ result_callback.Run(base::File::FILE_ERROR_SECURITY);
}
virtual void StartPostWriteValidation(
const base::FilePath& dest_platform_path,
const fileapi::CopyOrMoveFileValidator::ResultCallback&
result_callback) OVERRIDE {
- result_callback.Run(base::PLATFORM_FILE_ERROR_SECURITY);
+ result_callback.Run(base::File::FILE_ERROR_SECURITY);
}
private:

Powered by Google App Engine
This is Rietveld 408576698