| 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 WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 const GURL& path, | 497 const GURL& path, |
| 498 int flags, | 498 int flags, |
| 499 const AsyncOpenFileSystemURLCallback& callback) = 0; | 499 const AsyncOpenFileSystemURLCallback& callback) = 0; |
| 500 | 500 |
| 501 virtual bool MakeDirectory( | 501 virtual bool MakeDirectory( |
| 502 const GURL& path, | 502 const GURL& path, |
| 503 bool recursive, | 503 bool recursive, |
| 504 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; | 504 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; |
| 505 virtual bool Query(const GURL& path, | 505 virtual bool Query(const GURL& path, |
| 506 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; | 506 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; |
| 507 virtual bool ReadEntries( |
| 508 const GURL& path, |
| 509 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; |
| 507 virtual bool Touch(const GURL& path, | 510 virtual bool Touch(const GURL& path, |
| 508 const base::Time& last_access_time, | 511 const base::Time& last_access_time, |
| 509 const base::Time& last_modified_time, | 512 const base::Time& last_modified_time, |
| 510 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; | 513 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; |
| 511 virtual bool SetLength(const GURL& path, | 514 virtual bool SetLength(const GURL& path, |
| 512 int64_t length, | 515 int64_t length, |
| 513 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; | 516 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; |
| 514 virtual bool Delete(const GURL& path, | 517 virtual bool Delete(const GURL& path, |
| 515 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; | 518 fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; |
| 516 virtual bool Rename(const GURL& file_path, | 519 virtual bool Rename(const GURL& file_path, |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 bool should_close_source) const = 0; | 674 bool should_close_source) const = 0; |
| 672 | 675 |
| 673 // Returns true if running in process. | 676 // Returns true if running in process. |
| 674 virtual bool IsRunningInProcess(PP_Instance instance) const = 0; | 677 virtual bool IsRunningInProcess(PP_Instance instance) const = 0; |
| 675 }; | 678 }; |
| 676 | 679 |
| 677 } // namespace ppapi | 680 } // namespace ppapi |
| 678 } // namespace webkit | 681 } // namespace webkit |
| 679 | 682 |
| 680 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 683 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| OLD | NEW |