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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 257 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; |
258 virtual bool ReadDirectory( | 258 virtual bool ReadDirectory( |
259 const GURL& directory_path, | 259 const GURL& directory_path, |
260 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 260 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; |
261 virtual void QueryAvailableSpace( | 261 virtual void QueryAvailableSpace( |
262 const GURL& origin, | 262 const GURL& origin, |
263 quota::StorageType type, | 263 quota::StorageType type, |
264 const AvailableSpaceCallback& callback) OVERRIDE; | 264 const AvailableSpaceCallback& callback) OVERRIDE; |
265 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; | 265 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; |
266 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; | 266 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; |
| 267 virtual base::PlatformFileError OpenFile( |
| 268 const ppapi::PepperFilePath& path, |
| 269 int flags, |
| 270 base::PlatformFile* file) OVERRIDE; |
| 271 virtual base::PlatformFileError RenameFile( |
| 272 const ppapi::PepperFilePath& from_path, |
| 273 const ppapi::PepperFilePath& to_path) OVERRIDE; |
| 274 virtual base::PlatformFileError DeleteFileOrDir( |
| 275 const ppapi::PepperFilePath& path, |
| 276 bool recursive) OVERRIDE; |
| 277 virtual base::PlatformFileError CreateDir( |
| 278 const ppapi::PepperFilePath& path) OVERRIDE; |
| 279 virtual base::PlatformFileError QueryFile( |
| 280 const ppapi::PepperFilePath& path, |
| 281 base::PlatformFileInfo* info) OVERRIDE; |
| 282 virtual base::PlatformFileError GetDirContents( |
| 283 const ppapi::PepperFilePath& path, |
| 284 ppapi::DirContents* contents) OVERRIDE; |
| 285 virtual base::PlatformFileError CreateTemporaryFile( |
| 286 base::PlatformFile* file) OVERRIDE; |
267 virtual void SyncGetFileSystemPlatformPath( | 287 virtual void SyncGetFileSystemPlatformPath( |
268 const GURL& url, | 288 const GURL& url, |
269 FilePath* platform_path) OVERRIDE; | 289 FilePath* platform_path) OVERRIDE; |
270 virtual scoped_refptr<base::MessageLoopProxy> | 290 virtual scoped_refptr<base::MessageLoopProxy> |
271 GetFileThreadMessageLoopProxy() OVERRIDE; | 291 GetFileThreadMessageLoopProxy() OVERRIDE; |
272 | 292 |
273 virtual uint32 TCPSocketCreate() OVERRIDE; | 293 virtual uint32 TCPSocketCreate() OVERRIDE; |
274 virtual void TCPSocketConnect( | 294 virtual void TCPSocketConnect( |
275 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, | 295 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, |
276 uint32 socket_id, | 296 uint32 socket_id, |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 | 526 |
507 scoped_ptr<PepperDeviceEnumerationEventHandler> | 527 scoped_ptr<PepperDeviceEnumerationEventHandler> |
508 device_enumeration_event_handler_; | 528 device_enumeration_event_handler_; |
509 | 529 |
510 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 530 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
511 }; | 531 }; |
512 | 532 |
513 } // namespace content | 533 } // namespace content |
514 | 534 |
515 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 535 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |