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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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_PICASA_FILE_UTIL_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FILE_UTIL_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FILE_UTIL_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FILE_UTIL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h" 10 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h"
(...skipping 17 matching lines...) Expand all
28 class PicasaFileUtil : public NativeMediaFileUtil { 28 class PicasaFileUtil : public NativeMediaFileUtil {
29 public: 29 public:
30 explicit PicasaFileUtil(MediaPathFilter* media_path_filter); 30 explicit PicasaFileUtil(MediaPathFilter* media_path_filter);
31 virtual ~PicasaFileUtil(); 31 virtual ~PicasaFileUtil();
32 32
33 protected: 33 protected:
34 // NativeMediaFileUtil overrides. 34 // NativeMediaFileUtil overrides.
35 virtual void GetFileInfoOnTaskRunnerThread( 35 virtual void GetFileInfoOnTaskRunnerThread(
36 scoped_ptr<storage::FileSystemOperationContext> context, 36 scoped_ptr<storage::FileSystemOperationContext> context,
37 const storage::FileSystemURL& url, 37 const storage::FileSystemURL& url,
38 const GetFileInfoCallback& callback) OVERRIDE; 38 const GetFileInfoCallback& callback) override;
39 virtual void ReadDirectoryOnTaskRunnerThread( 39 virtual void ReadDirectoryOnTaskRunnerThread(
40 scoped_ptr<storage::FileSystemOperationContext> context, 40 scoped_ptr<storage::FileSystemOperationContext> context,
41 const storage::FileSystemURL& url, 41 const storage::FileSystemURL& url,
42 const ReadDirectoryCallback& callback) OVERRIDE; 42 const ReadDirectoryCallback& callback) override;
43 virtual base::File::Error GetFileInfoSync( 43 virtual base::File::Error GetFileInfoSync(
44 storage::FileSystemOperationContext* context, 44 storage::FileSystemOperationContext* context,
45 const storage::FileSystemURL& url, 45 const storage::FileSystemURL& url,
46 base::File::Info* file_info, 46 base::File::Info* file_info,
47 base::FilePath* platform_path) OVERRIDE; 47 base::FilePath* platform_path) override;
48 virtual base::File::Error ReadDirectorySync( 48 virtual base::File::Error ReadDirectorySync(
49 storage::FileSystemOperationContext* context, 49 storage::FileSystemOperationContext* context,
50 const storage::FileSystemURL& url, 50 const storage::FileSystemURL& url,
51 EntryList* file_list) OVERRIDE; 51 EntryList* file_list) override;
52 virtual base::File::Error DeleteDirectorySync( 52 virtual base::File::Error DeleteDirectorySync(
53 storage::FileSystemOperationContext* context, 53 storage::FileSystemOperationContext* context,
54 const storage::FileSystemURL& url) OVERRIDE; 54 const storage::FileSystemURL& url) override;
55 virtual base::File::Error DeleteFileSync( 55 virtual base::File::Error DeleteFileSync(
56 storage::FileSystemOperationContext* context, 56 storage::FileSystemOperationContext* context,
57 const storage::FileSystemURL& url) OVERRIDE; 57 const storage::FileSystemURL& url) override;
58 virtual base::File::Error GetLocalFilePath( 58 virtual base::File::Error GetLocalFilePath(
59 storage::FileSystemOperationContext* context, 59 storage::FileSystemOperationContext* context,
60 const storage::FileSystemURL& url, 60 const storage::FileSystemURL& url,
61 base::FilePath* local_file_path) OVERRIDE; 61 base::FilePath* local_file_path) override;
62 62
63 private: 63 private:
64 void GetFileInfoWithFreshDataProvider( 64 void GetFileInfoWithFreshDataProvider(
65 scoped_ptr<storage::FileSystemOperationContext> context, 65 scoped_ptr<storage::FileSystemOperationContext> context,
66 const storage::FileSystemURL& url, 66 const storage::FileSystemURL& url,
67 const GetFileInfoCallback& callback, 67 const GetFileInfoCallback& callback,
68 bool success); 68 bool success);
69 void ReadDirectoryWithFreshDataProvider( 69 void ReadDirectoryWithFreshDataProvider(
70 scoped_ptr<storage::FileSystemOperationContext> context, 70 scoped_ptr<storage::FileSystemOperationContext> context,
71 const storage::FileSystemURL& url, 71 const storage::FileSystemURL& url,
72 const ReadDirectoryCallback& callback, 72 const ReadDirectoryCallback& callback,
73 bool success); 73 bool success);
74 74
75 virtual PicasaDataProvider* GetDataProvider(); 75 virtual PicasaDataProvider* GetDataProvider();
76 76
77 base::WeakPtrFactory<PicasaFileUtil> weak_factory_; 77 base::WeakPtrFactory<PicasaFileUtil> weak_factory_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(PicasaFileUtil); 79 DISALLOW_COPY_AND_ASSIGN(PicasaFileUtil);
80 }; 80 };
81 81
82 } // namespace picasa 82 } // namespace picasa
83 83
84 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FILE_UTIL_H_ 84 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FILE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698