| 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 WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "webkit/plugins/ppapi/plugin_delegate.h" | 8 #include "webkit/plugins/ppapi/plugin_delegate.h" |
| 9 | 9 |
| 10 namespace gpu { | 10 namespace gpu { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 const base::Time& last_modified_time, | 63 const base::Time& last_modified_time, |
| 64 fileapi::FileSystemCallbackDispatcher* dispatcher); | 64 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 65 virtual bool Delete(const GURL& path, | 65 virtual bool Delete(const GURL& path, |
| 66 fileapi::FileSystemCallbackDispatcher* dispatcher); | 66 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 67 virtual bool Rename(const GURL& file_path, | 67 virtual bool Rename(const GURL& file_path, |
| 68 const GURL& new_file_path, | 68 const GURL& new_file_path, |
| 69 fileapi::FileSystemCallbackDispatcher* dispatcher); | 69 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 70 virtual bool ReadDirectory( | 70 virtual bool ReadDirectory( |
| 71 const GURL& directory_path, | 71 const GURL& directory_path, |
| 72 fileapi::FileSystemCallbackDispatcher* dispatcher); | 72 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 73 virtual bool QueryAvailableSpace( |
| 74 const GURL& origin, |
| 75 quota::StorageType type, |
| 76 AvailableSpaceCallback* callback); |
| 77 virtual void NotifyStorageModified(quota::QuotaClient::ID client_id, |
| 78 const GURL& origin, |
| 79 quota::StorageType type, |
| 80 int64 delta); |
| 73 virtual base::PlatformFileError OpenFile(const PepperFilePath& path, | 81 virtual base::PlatformFileError OpenFile(const PepperFilePath& path, |
| 74 int flags, | 82 int flags, |
| 75 base::PlatformFile* file); | 83 base::PlatformFile* file); |
| 76 virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path, | 84 virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path, |
| 77 const PepperFilePath& to_path); | 85 const PepperFilePath& to_path); |
| 78 virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path, | 86 virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path, |
| 79 bool recursive); | 87 bool recursive); |
| 80 virtual base::PlatformFileError CreateDir(const PepperFilePath& path); | 88 virtual base::PlatformFileError CreateDir(const PepperFilePath& path); |
| 81 virtual base::PlatformFileError QueryFile(const PepperFilePath& path, | 89 virtual base::PlatformFileError QueryFile(const PepperFilePath& path, |
| 82 base::PlatformFileInfo* info); | 90 base::PlatformFileInfo* info); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 112 virtual double GetLocalTimeZoneOffset(base::Time t); | 120 virtual double GetLocalTimeZoneOffset(base::Time t); |
| 113 virtual std::string GetFlashCommandLineArgs(); | 121 virtual std::string GetFlashCommandLineArgs(); |
| 114 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); | 122 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); |
| 115 virtual ::ppapi::Preferences GetPreferences(); | 123 virtual ::ppapi::Preferences GetPreferences(); |
| 116 }; | 124 }; |
| 117 | 125 |
| 118 } // namespace ppapi | 126 } // namespace ppapi |
| 119 } // namespace webkit | 127 } // namespace webkit |
| 120 | 128 |
| 121 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 129 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |