OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_MEDIA_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 const base::Callback<void(base::File::Error result)>& callback); | 54 const base::Callback<void(base::File::Error result)>& callback); |
55 | 55 |
56 // FileSystemBackend implementation. | 56 // FileSystemBackend implementation. |
57 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE; | 57 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE; |
58 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE; | 58 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE; |
59 virtual void ResolveURL(const storage::FileSystemURL& url, | 59 virtual void ResolveURL(const storage::FileSystemURL& url, |
60 storage::OpenFileSystemMode mode, | 60 storage::OpenFileSystemMode mode, |
61 const OpenFileSystemCallback& callback) OVERRIDE; | 61 const OpenFileSystemCallback& callback) OVERRIDE; |
62 virtual storage::AsyncFileUtil* GetAsyncFileUtil( | 62 virtual storage::AsyncFileUtil* GetAsyncFileUtil( |
63 storage::FileSystemType type) OVERRIDE; | 63 storage::FileSystemType type) OVERRIDE; |
| 64 virtual storage::WatcherManager* GetWatcherManager( |
| 65 storage::FileSystemType type) OVERRIDE; |
64 virtual storage::CopyOrMoveFileValidatorFactory* | 66 virtual storage::CopyOrMoveFileValidatorFactory* |
65 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type, | 67 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type, |
66 base::File::Error* error_code) OVERRIDE; | 68 base::File::Error* error_code) OVERRIDE; |
67 virtual storage::FileSystemOperation* CreateFileSystemOperation( | 69 virtual storage::FileSystemOperation* CreateFileSystemOperation( |
68 const storage::FileSystemURL& url, | 70 const storage::FileSystemURL& url, |
69 storage::FileSystemContext* context, | 71 storage::FileSystemContext* context, |
70 base::File::Error* error_code) const OVERRIDE; | 72 base::File::Error* error_code) const OVERRIDE; |
71 virtual bool SupportsStreaming( | 73 virtual bool SupportsStreaming( |
72 const storage::FileSystemURL& url) const OVERRIDE; | 74 const storage::FileSystemURL& url) const OVERRIDE; |
73 virtual bool HasInplaceCopyImplementation( | 75 virtual bool HasInplaceCopyImplementation( |
(...skipping 26 matching lines...) Expand all Loading... |
100 scoped_ptr<storage::AsyncFileUtil> itunes_file_util_; | 102 scoped_ptr<storage::AsyncFileUtil> itunes_file_util_; |
101 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 103 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
102 #if defined(OS_MACOSX) | 104 #if defined(OS_MACOSX) |
103 scoped_ptr<storage::AsyncFileUtil> iphoto_file_util_; | 105 scoped_ptr<storage::AsyncFileUtil> iphoto_file_util_; |
104 #endif // defined(OS_MACOSX) | 106 #endif // defined(OS_MACOSX) |
105 | 107 |
106 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend); | 108 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend); |
107 }; | 109 }; |
108 | 110 |
109 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ | 111 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |