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

Side by Side Diff: chrome/browser/media_galleries/fileapi/picasa_file_util.cc

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/media_galleries/fileapi/picasa_file_util.h" 5 #include "chrome/browser/media_galleries/fileapi/picasa_file_util.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 return PicasaDataProvider::ALBUMS_IMAGES_DATA; 58 return PicasaDataProvider::ALBUMS_IMAGES_DATA;
59 59
60 return PicasaDataProvider::LIST_OF_ALBUMS_AND_FOLDERS_DATA; 60 return PicasaDataProvider::LIST_OF_ALBUMS_AND_FOLDERS_DATA;
61 } 61 }
62 62
63 } // namespace 63 } // namespace
64 64
65 const char kPicasaDirAlbums[] = "albums"; 65 const char kPicasaDirAlbums[] = "albums";
66 const char kPicasaDirFolders[] = "folders"; 66 const char kPicasaDirFolders[] = "folders";
67 67
68 PicasaFileUtil::PicasaFileUtil(chrome::MediaPathFilter* media_path_filter) 68 PicasaFileUtil::PicasaFileUtil(MediaPathFilter* media_path_filter)
69 : chrome::NativeMediaFileUtil(media_path_filter), 69 : NativeMediaFileUtil(media_path_filter),
70 weak_factory_(this) { 70 weak_factory_(this) {
71 } 71 }
72 72
73 PicasaFileUtil::~PicasaFileUtil() {} 73 PicasaFileUtil::~PicasaFileUtil() {}
74 74
75 void PicasaFileUtil::GetFileInfoOnTaskRunnerThread( 75 void PicasaFileUtil::GetFileInfoOnTaskRunnerThread(
76 scoped_ptr<fileapi::FileSystemOperationContext> context, 76 scoped_ptr<fileapi::FileSystemOperationContext> context,
77 const fileapi::FileSystemURL& url, 77 const fileapi::FileSystemURL& url,
78 const GetFileInfoCallback& callback) { 78 const GetFileInfoCallback& callback) {
79 GetDataProvider()->RefreshData( 79 GetDataProvider()->RefreshData(
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 content::BrowserThread::IO, 360 content::BrowserThread::IO,
361 FROM_HERE, 361 FROM_HERE,
362 base::Bind(callback, base::PLATFORM_FILE_ERROR_IO, EntryList(), false)); 362 base::Bind(callback, base::PLATFORM_FILE_ERROR_IO, EntryList(), false));
363 return; 363 return;
364 } 364 }
365 NativeMediaFileUtil::ReadDirectoryOnTaskRunnerThread( 365 NativeMediaFileUtil::ReadDirectoryOnTaskRunnerThread(
366 context.Pass(), url, callback); 366 context.Pass(), url, callback);
367 } 367 }
368 368
369 PicasaDataProvider* PicasaFileUtil::GetDataProvider() { 369 PicasaDataProvider* PicasaFileUtil::GetDataProvider() {
370 return chrome::ImportedMediaGalleryRegistry::PicasaDataProvider(); 370 return ImportedMediaGalleryRegistry::PicasaDataProvider();
371 } 371 }
372 372
373 } // namespace picasa 373 } // namespace picasa
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698