OLD | NEW |
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_FILE_UTIL_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FILE_UTIL_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FILE_UTIL_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 const ReadDirectoryCallback& callback, | 77 const ReadDirectoryCallback& callback, |
78 bool valid_parse); | 78 bool valid_parse); |
79 virtual void CreateSnapshotFileWithFreshDataProvider( | 79 virtual void CreateSnapshotFileWithFreshDataProvider( |
80 scoped_ptr<storage::FileSystemOperationContext> context, | 80 scoped_ptr<storage::FileSystemOperationContext> context, |
81 const storage::FileSystemURL& url, | 81 const storage::FileSystemURL& url, |
82 const CreateSnapshotFileCallback& callback, | 82 const CreateSnapshotFileCallback& callback, |
83 bool valid_parse); | 83 bool valid_parse); |
84 | 84 |
85 virtual ITunesDataProvider* GetDataProvider(); | 85 virtual ITunesDataProvider* GetDataProvider(); |
86 | 86 |
| 87 ImportedMediaGalleryRegistry* imported_registry_; |
| 88 |
87 base::WeakPtrFactory<ITunesFileUtil> weak_factory_; | 89 base::WeakPtrFactory<ITunesFileUtil> weak_factory_; |
88 | 90 |
89 ImportedMediaGalleryRegistry* imported_registry_; | |
90 | |
91 DISALLOW_COPY_AND_ASSIGN(ITunesFileUtil); | 91 DISALLOW_COPY_AND_ASSIGN(ITunesFileUtil); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace itunes | 94 } // namespace itunes |
95 | 95 |
96 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FILE_UTIL_H_ | 96 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FILE_UTIL_H_ |
OLD | NEW |