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

Unified Diff: chrome/browser/media_galleries/fileapi/supported_audio_video_checker.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/supported_audio_video_checker.cc
diff --git a/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc b/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc
index bed3c2367220132314c1e85ae846d4863a4147db..fe2bbdbc0963386f837f652e5ba84961c20aaac1 100644
--- a/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc
+++ b/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc
@@ -87,7 +87,7 @@ SupportedAudioVideoChecker::SupportedAudioVideoChecker(
void SupportedAudioVideoChecker::OnFileOpen(const base::PlatformFile& file) {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
if (file == base::kInvalidPlatformFileValue) {
- callback_.Run(base::PLATFORM_FILE_ERROR_SECURITY);
+ callback_.Run(base::File::FILE_ERROR_SECURITY);
return;
}

Powered by Google App Engine
This is Rietveld 408576698