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