| 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" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // Creates a local snapshot file for a given |path| and returns the | 61 // Creates a local snapshot file for a given |path| and returns the |
| 62 // metadata and platform path of the snapshot file via |callback|. | 62 // metadata and platform path of the snapshot file via |callback|. |
| 63 // See also FileSystemOperationInterface::CreateSnapshotFile(). | 63 // See also FileSystemOperationInterface::CreateSnapshotFile(). |
| 64 virtual void CreateSnapshotFile( | 64 virtual void CreateSnapshotFile( |
| 65 const GURL& path, | 65 const GURL& path, |
| 66 const FileSystemOperationInterface::SnapshotFileCallback& callback) = 0; | 66 const FileSystemOperationInterface::SnapshotFileCallback& callback) = 0; |
| 67 | 67 |
| 68 // TODO(zelidrag): More methods to follow as we implement other parts of FSO. | 68 // TODO(zelidrag): More methods to follow as we implement other parts of FSO. |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace chromeos | 71 } // namespace fileapi |
| 72 | 72 |
| 73 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ | 73 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ |
| OLD | NEW |