OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ | 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ |
6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ | 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "webkit/fileapi/file_system_operation_interface.h" | 10 #include "webkit/fileapi/file_system_operation_interface.h" |
11 | 11 |
12 class GURL; | |
13 | |
14 namespace fileapi { | 12 namespace fileapi { |
15 | 13 |
16 typedef base::Callback< | 14 typedef base::Callback< |
17 void(base::PlatformFileError result, | 15 void(base::PlatformFileError result, |
18 const FilePath& platform_path, | 16 const FilePath& platform_path, |
19 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref)> | 17 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref)> |
20 WritableSnapshotFile; | 18 WritableSnapshotFile; |
21 | 19 |
22 // The interface class for remote file system proxy. | 20 // The interface class for remote file system proxy. |
23 class RemoteFileSystemProxyInterface : | 21 class RemoteFileSystemProxyInterface : |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // TODO(zelidrag): More methods to follow as we implement other parts of FSO. | 106 // TODO(zelidrag): More methods to follow as we implement other parts of FSO. |
109 | 107 |
110 protected: | 108 protected: |
111 friend class base::RefCountedThreadSafe<RemoteFileSystemProxyInterface>; | 109 friend class base::RefCountedThreadSafe<RemoteFileSystemProxyInterface>; |
112 virtual ~RemoteFileSystemProxyInterface() {} | 110 virtual ~RemoteFileSystemProxyInterface() {} |
113 }; | 111 }; |
114 | 112 |
115 } // namespace fileapi | 113 } // namespace fileapi |
116 | 114 |
117 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ | 115 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ |
OLD | NEW |