Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ |
| 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/file_util_proxy.h" | 10 #include "base/file_util_proxy.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 51 virtual void DidFail(base::PlatformFileError error_code) = 0; | 51 virtual void DidFail(base::PlatformFileError error_code) = 0; |
| 52 | 52 |
| 53 // Callback for FileWriter's write() call. | 53 // Callback for FileWriter's write() call. |
| 54 virtual void DidWrite(int64 bytes, bool complete) = 0; | 54 virtual void DidWrite(int64 bytes, bool complete) = 0; |
| 55 | 55 |
| 56 // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just | 56 // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just |
| 57 // for Pepper. | 57 // for Pepper. |
| 58 virtual void DidOpenFile( | 58 virtual void DidOpenFile( |
| 59 base::PlatformFile file, | 59 base::PlatformFile file, |
| 60 base::ProcessHandle peer_handle); | 60 base::ProcessHandle peer_handle); |
| 61 | |
| 62 // Callback for the real local platform path lookup, where possible. | |
|
ericu
2011/04/19 23:36:19
Add: "This isn't in WebFileSystemCallbacks."
zel
2011/04/20 02:02:07
Done.
| |
| 63 virtual void DidGetLocalPath(const FilePath& local_path); | |
| 64 | |
| 61 }; | 65 }; |
| 62 | 66 |
| 63 } // namespace fileapi | 67 } // namespace fileapi |
| 64 | 68 |
| 65 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ | 69 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ |
| OLD | NEW |