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_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include "webkit/plugins/ppapi/plugin_delegate.h" | 8 #include "webkit/plugins/ppapi/plugin_delegate.h" |
9 | 9 |
10 struct PP_NetAddress_Private; | 10 struct PP_NetAddress_Private; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 const GURL& origin_url, | 81 const GURL& origin_url, |
82 fileapi::FileSystemType type, | 82 fileapi::FileSystemType type, |
83 long long size, | 83 long long size, |
84 fileapi::FileSystemCallbackDispatcher* dispatcher); | 84 fileapi::FileSystemCallbackDispatcher* dispatcher); |
85 virtual bool MakeDirectory( | 85 virtual bool MakeDirectory( |
86 const GURL& path, | 86 const GURL& path, |
87 bool recursive, | 87 bool recursive, |
88 fileapi::FileSystemCallbackDispatcher* dispatcher); | 88 fileapi::FileSystemCallbackDispatcher* dispatcher); |
89 virtual bool Query(const GURL& path, | 89 virtual bool Query(const GURL& path, |
90 fileapi::FileSystemCallbackDispatcher* dispatcher); | 90 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 91 virtual bool ReadEntries(const GURL& path, |
| 92 fileapi::FileSystemCallbackDispatcher* dispatcher); |
91 virtual bool Touch(const GURL& path, | 93 virtual bool Touch(const GURL& path, |
92 const base::Time& last_access_time, | 94 const base::Time& last_access_time, |
93 const base::Time& last_modified_time, | 95 const base::Time& last_modified_time, |
94 fileapi::FileSystemCallbackDispatcher* dispatcher); | 96 fileapi::FileSystemCallbackDispatcher* dispatcher); |
95 virtual bool SetLength(const GURL& path, | 97 virtual bool SetLength(const GURL& path, |
96 int64_t length, | 98 int64_t length, |
97 fileapi::FileSystemCallbackDispatcher* dispatcher); | 99 fileapi::FileSystemCallbackDispatcher* dispatcher); |
98 virtual bool Delete(const GURL& path, | 100 virtual bool Delete(const GURL& path, |
99 fileapi::FileSystemCallbackDispatcher* dispatcher); | 101 fileapi::FileSystemCallbackDispatcher* dispatcher); |
100 virtual bool Rename(const GURL& file_path, | 102 virtual bool Rename(const GURL& file_path, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 base::PlatformFile handle, | 179 base::PlatformFile handle, |
178 base::ProcessId target_process_id, | 180 base::ProcessId target_process_id, |
179 bool should_close_source) const; | 181 bool should_close_source) const; |
180 virtual bool IsRunningInProcess(PP_Instance instance) const; | 182 virtual bool IsRunningInProcess(PP_Instance instance) const; |
181 }; | 183 }; |
182 | 184 |
183 } // namespace ppapi | 185 } // namespace ppapi |
184 } // namespace webkit | 186 } // namespace webkit |
185 | 187 |
186 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 188 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |