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

Side by Side Diff: chrome/browser/media_galleries/fileapi/itunes/itunes_file_util.h

Issue 15653004: Picasa import: Make NativeMediaFileUtil an AsyncFileUtil (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win fix Created 7 years, 6 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
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 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_ITUNES_FILE_UTIL_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_ITUNES_FILE_UTIL_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_ITUNES_FILE_UTIL_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_ITUNES_FILE_UTIL_H_
7 7
8 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h" 8 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h"
9 9
10 namespace itunes { 10 namespace itunes {
11 11
12 class ItunesFileUtil : public chrome::NativeMediaFileUtil { 12 class ItunesFileUtil : public chrome::NativeMediaFileUtil {
13 public: 13 public:
14 ItunesFileUtil(); 14 ItunesFileUtil();
15 virtual ~ItunesFileUtil(); 15 virtual ~ItunesFileUtil();
16 16
17 // Overrides from NativeMediaFileUtil 17 protected:
Lei Zhang 2013/05/30 21:17:58 This can be private: instead?
tommycli 2013/05/30 21:52:32 Done.
18 virtual base::PlatformFileError GetFileInfo( 18 virtual base::PlatformFileError GetFileInfoSync(
Lei Zhang 2013/05/30 21:17:58 Preserve the comment indicating what this is overr
tommycli 2013/05/30 21:52:32 Done.
19 fileapi::FileSystemOperationContext* context, 19 fileapi::FileSystemOperationContext* context,
20 const fileapi::FileSystemURL& url, 20 const fileapi::FileSystemURL& url,
21 base::PlatformFileInfo* file_info, 21 base::PlatformFileInfo* file_info,
22 base::FilePath* platform_path) OVERRIDE; 22 base::FilePath* platform_path) OVERRIDE;
23 23 virtual base::PlatformFileError ReadDirectorySync(
24 // Paths are enumerated in lexicographical order.
25 virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator(
26 fileapi::FileSystemOperationContext* context, 24 fileapi::FileSystemOperationContext* context,
27 const fileapi::FileSystemURL& url) OVERRIDE; 25 const fileapi::FileSystemURL& url,
28 26 EntryList* file_list) OVERRIDE;
29 virtual base::PlatformFileError GetLocalFilePath( 27 virtual base::PlatformFileError GetLocalFilePath(
30 fileapi::FileSystemOperationContext* context, 28 fileapi::FileSystemOperationContext* context,
31 const fileapi::FileSystemURL& url, 29 const fileapi::FileSystemURL& url,
32 base::FilePath* local_file_path) OVERRIDE; 30 base::FilePath* local_file_path) OVERRIDE;
33 31
34 private: 32 private:
35 DISALLOW_COPY_AND_ASSIGN(ItunesFileUtil); 33 DISALLOW_COPY_AND_ASSIGN(ItunesFileUtil);
36 }; 34 };
37 35
38 } // namespace itunes 36 } // namespace itunes
39 37
40 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_ITUNES_FILE_UTIL_H_ 38 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_ITUNES_FILE_UTIL_H_
41 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698