| 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& callback) OVERRIDE; |
| 222 virtual bool ReadDirectoryEntries( | 222 virtual bool ReadDirectoryEntries( |
| 223 const GURL& path, | 223 const GURL& path, |
| 224 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 224 const ReadDirectoryCallback& callback) OVERRIDE; |
| 225 virtual bool Touch( | 225 virtual bool Touch( |
| 226 const GURL& path, | 226 const GURL& path, |
| 227 const base::Time& last_access_time, | 227 const base::Time& last_access_time, |
| 228 const base::Time& last_modified_time, | 228 const base::Time& last_modified_time, |
| 229 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 229 const StatusCallback& callback) OVERRIDE; |
| 230 virtual bool SetLength( | 230 virtual bool SetLength( |
| 231 const GURL& path, | 231 const GURL& path, |
| 232 int64_t length, | 232 int64_t length, |
| 233 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 233 const StatusCallback& callback) OVERRIDE; |
| 234 virtual bool Delete( | 234 virtual bool Delete( |
| 235 const GURL& path, | 235 const GURL& path, |
| 236 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 236 const StatusCallback& callback) OVERRIDE; |
| 237 virtual bool Rename( | 237 virtual bool Rename( |
| 238 const GURL& file_path, | 238 const GURL& file_path, |
| 239 const GURL& new_file_path, | 239 const GURL& new_file_path, |
| 240 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 240 const StatusCallback& callback) OVERRIDE; |
| 241 virtual bool ReadDirectory( | 241 virtual bool ReadDirectory( |
| 242 const GURL& directory_path, | 242 const GURL& directory_path, |
| 243 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 243 const ReadDirectoryCallback& callback) OVERRIDE; |
| 244 virtual void QueryAvailableSpace( | 244 virtual void QueryAvailableSpace( |
| 245 const GURL& origin, | 245 const GURL& origin, |
| 246 quota::StorageType type, | 246 quota::StorageType type, |
| 247 const AvailableSpaceCallback& callback) OVERRIDE; | 247 const AvailableSpaceCallback& callback) OVERRIDE; |
| 248 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; | 248 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; |
| 249 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; | 249 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; |
| 250 virtual void SyncGetFileSystemPlatformPath( | 250 virtual void SyncGetFileSystemPlatformPath( |
| 251 const GURL& url, | 251 const GURL& url, |
| 252 base::FilePath* platform_path) OVERRIDE; | 252 base::FilePath* platform_path) OVERRIDE; |
| 253 virtual scoped_refptr<base::MessageLoopProxy> | 253 virtual scoped_refptr<base::MessageLoopProxy> |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 device_enumeration_event_handler_; | 441 device_enumeration_event_handler_; |
| 442 | 442 |
| 443 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; | 443 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; |
| 444 | 444 |
| 445 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 445 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 446 }; | 446 }; |
| 447 | 447 |
| 448 } // namespace content | 448 } // namespace content |
| 449 | 449 |
| 450 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 450 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |