| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 virtual bool IsFileSystemOpened(PP_Instance instance, | 208 virtual bool IsFileSystemOpened(PP_Instance instance, |
| 209 PP_Resource resource) const OVERRIDE; | 209 PP_Resource resource) const OVERRIDE; |
| 210 virtual PP_FileSystemType GetFileSystemType( | 210 virtual PP_FileSystemType GetFileSystemType( |
| 211 PP_Instance instance, | 211 PP_Instance instance, |
| 212 PP_Resource resource) const OVERRIDE; | 212 PP_Resource resource) const OVERRIDE; |
| 213 virtual GURL GetFileSystemRootUrl(PP_Instance instance, | 213 virtual GURL GetFileSystemRootUrl(PP_Instance instance, |
| 214 PP_Resource resource) const OVERRIDE; | 214 PP_Resource resource) const OVERRIDE; |
| 215 virtual bool MakeDirectory( | 215 virtual bool MakeDirectory( |
| 216 const GURL& path, | 216 const GURL& path, |
| 217 bool recursive, | 217 bool recursive, |
| 218 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 218 const StatusCallback& callback) OVERRIDE; |
| 219 virtual bool Query( | 219 virtual bool Query( |
| 220 const GURL& path, | 220 const GURL& path, |
| 221 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 221 const MetadataCallback& success_callback, |
| 222 const StatusCallback& error_callback) OVERRIDE; |
| 222 virtual bool ReadDirectoryEntries( | 223 virtual bool ReadDirectoryEntries( |
| 223 const GURL& path, | 224 const GURL& path, |
| 224 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 225 const ReadDirectoryCallback& success_callback, |
| 226 const StatusCallback& error_callback) OVERRIDE; |
| 225 virtual bool Touch( | 227 virtual bool Touch( |
| 226 const GURL& path, | 228 const GURL& path, |
| 227 const base::Time& last_access_time, | 229 const base::Time& last_access_time, |
| 228 const base::Time& last_modified_time, | 230 const base::Time& last_modified_time, |
| 229 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 231 const StatusCallback& callback) OVERRIDE; |
| 230 virtual bool SetLength( | 232 virtual bool SetLength( |
| 231 const GURL& path, | 233 const GURL& path, |
| 232 int64_t length, | 234 int64_t length, |
| 233 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 235 const StatusCallback& callback) OVERRIDE; |
| 234 virtual bool Delete( | 236 virtual bool Delete( |
| 235 const GURL& path, | 237 const GURL& path, |
| 236 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 238 const StatusCallback& callback) OVERRIDE; |
| 237 virtual bool Rename( | 239 virtual bool Rename( |
| 238 const GURL& file_path, | 240 const GURL& file_path, |
| 239 const GURL& new_file_path, | 241 const GURL& new_file_path, |
| 240 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 242 const StatusCallback& callback) OVERRIDE; |
| 241 virtual bool ReadDirectory( | 243 virtual bool ReadDirectory( |
| 242 const GURL& directory_path, | 244 const GURL& directory_path, |
| 243 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 245 const ReadDirectoryCallback& success_callback, |
| 246 const StatusCallback& error_callback) OVERRIDE; |
| 244 virtual void QueryAvailableSpace( | 247 virtual void QueryAvailableSpace( |
| 245 const GURL& origin, | 248 const GURL& origin, |
| 246 quota::StorageType type, | 249 quota::StorageType type, |
| 247 const AvailableSpaceCallback& callback) OVERRIDE; | 250 const AvailableSpaceCallback& callback) OVERRIDE; |
| 248 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; | 251 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; |
| 249 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; | 252 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; |
| 250 virtual void SyncGetFileSystemPlatformPath( | 253 virtual void SyncGetFileSystemPlatformPath( |
| 251 const GURL& url, | 254 const GURL& url, |
| 252 base::FilePath* platform_path) OVERRIDE; | 255 base::FilePath* platform_path) OVERRIDE; |
| 253 virtual scoped_refptr<base::MessageLoopProxy> | 256 virtual scoped_refptr<base::MessageLoopProxy> |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 device_enumeration_event_handler_; | 447 device_enumeration_event_handler_; |
| 445 | 448 |
| 446 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; | 449 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; |
| 447 | 450 |
| 448 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 451 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 449 }; | 452 }; |
| 450 | 453 |
| 451 } // namespace content | 454 } // namespace content |
| 452 | 455 |
| 453 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 456 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |