| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 const GURL& path, | 223 const GURL& path, |
| 224 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 224 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; |
| 225 virtual bool Rename( | 225 virtual bool Rename( |
| 226 const GURL& file_path, | 226 const GURL& file_path, |
| 227 const GURL& new_file_path, | 227 const GURL& new_file_path, |
| 228 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 228 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; |
| 229 virtual bool ReadDirectory( | 229 virtual bool ReadDirectory( |
| 230 const GURL& directory_path, | 230 const GURL& directory_path, |
| 231 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; | 231 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; |
| 232 virtual void PublishPolicy(const std::string& policy_json) OVERRIDE; | 232 virtual void PublishPolicy(const std::string& policy_json) OVERRIDE; |
| 233 virtual void QueryAvailableSpace(const GURL& origin, |
| 234 quota::StorageType type, |
| 235 AvailableSpaceCallback* callback) OVERRIDE; |
| 236 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; |
| 237 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; |
| 233 virtual base::PlatformFileError OpenFile( | 238 virtual base::PlatformFileError OpenFile( |
| 234 const webkit::ppapi::PepperFilePath& path, | 239 const webkit::ppapi::PepperFilePath& path, |
| 235 int flags, | 240 int flags, |
| 236 base::PlatformFile* file) OVERRIDE; | 241 base::PlatformFile* file) OVERRIDE; |
| 237 virtual base::PlatformFileError RenameFile( | 242 virtual base::PlatformFileError RenameFile( |
| 238 const webkit::ppapi::PepperFilePath& from_path, | 243 const webkit::ppapi::PepperFilePath& from_path, |
| 239 const webkit::ppapi::PepperFilePath& to_path) OVERRIDE; | 244 const webkit::ppapi::PepperFilePath& to_path) OVERRIDE; |
| 240 virtual base::PlatformFileError DeleteFileOrDir( | 245 virtual base::PlatformFileError DeleteFileOrDir( |
| 241 const webkit::ppapi::PepperFilePath& path, | 246 const webkit::ppapi::PepperFilePath& path, |
| 242 bool recursive) OVERRIDE; | 247 bool recursive) OVERRIDE; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 bool is_pepper_plugin_focused_; | 339 bool is_pepper_plugin_focused_; |
| 335 | 340 |
| 336 // Set of instances to receive a notification when the enterprise policy has | 341 // Set of instances to receive a notification when the enterprise policy has |
| 337 // been updated. | 342 // been updated. |
| 338 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; | 343 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; |
| 339 | 344 |
| 340 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 345 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 341 }; | 346 }; |
| 342 | 347 |
| 343 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 348 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |