| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COMMON_FILE_SYSTEM_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ | 5 #ifndef CHROME_COMMON_FILE_SYSTEM_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ |
| 6 #define CHROME_COMMON_FILE_SYSTEM_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ | 6 #define CHROME_COMMON_FILE_SYSTEM_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/platform_file.h" | 9 #include "base/platform_file.h" |
| 10 #include "webkit/fileapi/file_system_callback_dispatcher.h" | 10 #include "webkit/fileapi/file_system_callback_dispatcher.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 // FileSystemCallbackDispatcher implementation | 28 // FileSystemCallbackDispatcher implementation |
| 29 virtual void DidSucceed(); | 29 virtual void DidSucceed(); |
| 30 virtual void DidReadMetadata(const base::PlatformFileInfo& file_info); | 30 virtual void DidReadMetadata(const base::PlatformFileInfo& file_info); |
| 31 virtual void DidReadDirectory( | 31 virtual void DidReadDirectory( |
| 32 const std::vector<base::file_util_proxy::Entry>& entries, | 32 const std::vector<base::file_util_proxy::Entry>& entries, |
| 33 bool has_more); | 33 bool has_more); |
| 34 virtual void DidOpenFileSystem(const std::string&, | 34 virtual void DidOpenFileSystem(const std::string&, |
| 35 const FilePath&); | 35 const FilePath&); |
| 36 virtual void DidFail(base::PlatformFileError); | 36 virtual void DidFail(base::PlatformFileError); |
| 37 virtual void DidWrite(int64 bytes, bool complete); |
| 37 | 38 |
| 38 private: | 39 private: |
| 39 WebKit::WebFileSystemCallbacks* callbacks_; | 40 WebKit::WebFileSystemCallbacks* callbacks_; |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 #endif // CHROME_COMMON_FILE_SYSTEM_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ | 43 #endif // CHROME_COMMON_FILE_SYSTEM_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ |
| OLD | NEW |