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