| 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_PICASA_PICASA_FILE_UTIL_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FILE_UTIL_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FILE_UTIL_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 EntryList* file_list) OVERRIDE; | 42 EntryList* file_list) OVERRIDE; |
| 43 virtual base::PlatformFileError GetLocalFilePath( | 43 virtual base::PlatformFileError GetLocalFilePath( |
| 44 fileapi::FileSystemOperationContext* context, | 44 fileapi::FileSystemOperationContext* context, |
| 45 const fileapi::FileSystemURL& url, | 45 const fileapi::FileSystemURL& url, |
| 46 base::FilePath* local_file_path) OVERRIDE; | 46 base::FilePath* local_file_path) OVERRIDE; |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 void GetFileInfoWithFreshDataProvider( | 49 void GetFileInfoWithFreshDataProvider( |
| 50 scoped_ptr<fileapi::FileSystemOperationContext> context, | 50 scoped_ptr<fileapi::FileSystemOperationContext> context, |
| 51 const fileapi::FileSystemURL& url, | 51 const fileapi::FileSystemURL& url, |
| 52 const GetFileInfoCallback& callback); | 52 const GetFileInfoCallback& callback, |
| 53 bool success); |
| 53 void ReadDirectoryWithFreshDataProvider( | 54 void ReadDirectoryWithFreshDataProvider( |
| 54 scoped_ptr<fileapi::FileSystemOperationContext> context, | 55 scoped_ptr<fileapi::FileSystemOperationContext> context, |
| 55 const fileapi::FileSystemURL& url, | 56 const fileapi::FileSystemURL& url, |
| 56 const ReadDirectoryCallback& callback); | 57 const ReadDirectoryCallback& callback, |
| 58 bool success); |
| 57 | 59 |
| 58 virtual PicasaDataProvider* GetDataProvider(); | 60 virtual PicasaDataProvider* GetDataProvider(); |
| 59 | 61 |
| 60 base::WeakPtrFactory<PicasaFileUtil> weak_factory_; | 62 base::WeakPtrFactory<PicasaFileUtil> weak_factory_; |
| 61 | 63 |
| 62 DISALLOW_COPY_AND_ASSIGN(PicasaFileUtil); | 64 DISALLOW_COPY_AND_ASSIGN(PicasaFileUtil); |
| 63 }; | 65 }; |
| 64 | 66 |
| 65 } // namespace picasa | 67 } // namespace picasa |
| 66 | 68 |
| 67 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FILE_UTIL_H_ | 69 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FILE_UTIL_H_ |
| OLD | NEW |