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; |
243 virtual void SyncGetFileSystemPlatformPath( | 263 virtual void SyncGetFileSystemPlatformPath( |
244 const GURL& url, | 264 const GURL& url, |
245 FilePath* platform_path) OVERRIDE; | 265 FilePath* platform_path) OVERRIDE; |
246 virtual scoped_refptr<base::MessageLoopProxy> | 266 virtual scoped_refptr<base::MessageLoopProxy> |
247 GetFileThreadMessageLoopProxy() OVERRIDE; | 267 GetFileThreadMessageLoopProxy() OVERRIDE; |
248 virtual uint32 TCPSocketCreate() OVERRIDE; | 268 virtual uint32 TCPSocketCreate() OVERRIDE; |
249 virtual void TCPSocketConnect( | 269 virtual void TCPSocketConnect( |
250 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, | 270 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, |
251 uint32 socket_id, | 271 uint32 socket_id, |
252 const std::string& host, | 272 const std::string& host, |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 492 |
473 scoped_ptr<PepperDeviceEnumerationEventHandler> | 493 scoped_ptr<PepperDeviceEnumerationEventHandler> |
474 device_enumeration_event_handler_; | 494 device_enumeration_event_handler_; |
475 | 495 |
476 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 496 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
477 }; | 497 }; |
478 | 498 |
479 } // namespace content | 499 } // namespace content |
480 | 500 |
481 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 501 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |