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

Unified Diff: chrome/browser/media_galleries/fileapi/picasa_data_provider.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/picasa_data_provider.cc
diff --git a/chrome/browser/media_galleries/fileapi/picasa_data_provider.cc b/chrome/browser/media_galleries/fileapi/picasa_data_provider.cc
index 0633362b5299a477a06274333f5930bf56e35d0c..060ba47011c5ea3e266f3830a766b16e16c3db1b 100644
--- a/chrome/browser/media_galleries/fileapi/picasa_data_provider.cc
+++ b/chrome/browser/media_galleries/fileapi/picasa_data_provider.cc
@@ -97,7 +97,7 @@ scoped_ptr<AlbumMap> PicasaDataProvider::GetAlbums() {
scoped_ptr<AlbumImages> PicasaDataProvider::FindAlbumImages(
const std::string& key,
- base::PlatformFileError* error) {
+ base::File::Error* error) {
DCHECK(MediaFileSystemBackend::CurrentlyOnMediaTaskRunnerThread());
DCHECK(state_ == ALBUMS_IMAGES_FRESH_STATE);
DCHECK(error);
@@ -105,11 +105,11 @@ scoped_ptr<AlbumImages> PicasaDataProvider::FindAlbumImages(
AlbumImagesMap::const_iterator it = albums_images_.find(key);
if (it == albums_images_.end()) {
- *error = base::PLATFORM_FILE_ERROR_NOT_FOUND;
+ *error = base::File::FILE_ERROR_NOT_FOUND;
return scoped_ptr<AlbumImages>();
}
- *error = base::PLATFORM_FILE_OK;
+ *error = base::File::FILE_OK;
return make_scoped_ptr(new AlbumImages(it->second));
}

Powered by Google App Engine
This is Rietveld 408576698