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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 233 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; |
234 virtual bool ReadDirectory( | 234 virtual bool ReadDirectory( |
235 const GURL& directory_path, | 235 const GURL& directory_path, |
236 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 236 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; |
237 virtual void QueryAvailableSpace( | 237 virtual void QueryAvailableSpace( |
238 const GURL& origin, | 238 const GURL& origin, |
239 quota::StorageType type, | 239 quota::StorageType type, |
240 const AvailableSpaceCallback& callback) OVERRIDE; | 240 const AvailableSpaceCallback& callback) OVERRIDE; |
241 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; | 241 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; |
242 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; | 242 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; |
243 virtual base::PlatformFileError OpenFile( | |
244 const ppapi::PepperFilePath& path, | |
245 int flags, | |
246 base::PlatformFile* file) OVERRIDE; | |
247 virtual base::PlatformFileError RenameFile( | |
248 const ppapi::PepperFilePath& from_path, | |
249 const ppapi::PepperFilePath& to_path) OVERRIDE; | |
250 virtual base::PlatformFileError DeleteFileOrDir( | |
251 const ppapi::PepperFilePath& path, | |
252 bool recursive) OVERRIDE; | |
253 virtual base::PlatformFileError CreateDir( | |
254 const ppapi::PepperFilePath& path) OVERRIDE; | |
255 virtual base::PlatformFileError QueryFile( | |
256 const ppapi::PepperFilePath& path, | |
257 base::PlatformFileInfo* info) OVERRIDE; | |
258 virtual base::PlatformFileError GetDirContents( | |
259 const ppapi::PepperFilePath& path, | |
260 ppapi::DirContents* contents) OVERRIDE; | |
261 virtual base::PlatformFileError CreateTemporaryFile( | |
262 base::PlatformFile* file) OVERRIDE; | |
263 virtual void SyncGetFileSystemPlatformPath( | 243 virtual void SyncGetFileSystemPlatformPath( |
264 const GURL& url, | 244 const GURL& url, |
265 FilePath* platform_path) OVERRIDE; | 245 FilePath* platform_path) OVERRIDE; |
266 virtual scoped_refptr<base::MessageLoopProxy> | 246 virtual scoped_refptr<base::MessageLoopProxy> |
267 GetFileThreadMessageLoopProxy() OVERRIDE; | 247 GetFileThreadMessageLoopProxy() OVERRIDE; |
268 virtual uint32 TCPSocketCreate() OVERRIDE; | 248 virtual uint32 TCPSocketCreate() OVERRIDE; |
269 virtual void TCPSocketConnect( | 249 virtual void TCPSocketConnect( |
270 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, | 250 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, |
271 uint32 socket_id, | 251 uint32 socket_id, |
272 const std::string& host, | 252 const std::string& host, |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 | 472 |
493 scoped_ptr<PepperDeviceEnumerationEventHandler> | 473 scoped_ptr<PepperDeviceEnumerationEventHandler> |
494 device_enumeration_event_handler_; | 474 device_enumeration_event_handler_; |
495 | 475 |
496 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 476 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
497 }; | 477 }; |
498 | 478 |
499 } // namespace content | 479 } // namespace content |
500 | 480 |
501 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 481 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |