| 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 webkit { | 10 namespace webkit { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 const base::Time& last_modified_time, | 58 const base::Time& last_modified_time, |
| 59 fileapi::FileSystemCallbackDispatcher* dispatcher); | 59 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 60 virtual bool Delete(const GURL& path, | 60 virtual bool Delete(const GURL& path, |
| 61 fileapi::FileSystemCallbackDispatcher* dispatcher); | 61 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 62 virtual bool Rename(const GURL& file_path, | 62 virtual bool Rename(const GURL& file_path, |
| 63 const GURL& new_file_path, | 63 const GURL& new_file_path, |
| 64 fileapi::FileSystemCallbackDispatcher* dispatcher); | 64 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 65 virtual bool ReadDirectory( | 65 virtual bool ReadDirectory( |
| 66 const GURL& directory_path, | 66 const GURL& directory_path, |
| 67 fileapi::FileSystemCallbackDispatcher* dispatcher); | 67 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 68 virtual void QueryAvailableSpace(const GURL& origin, |
| 69 quota::StorageType type, |
| 70 AvailableSpaceCallback* callback); |
| 71 virtual void WillUpdateFile(const GURL& file_path); |
| 72 virtual void DidUpdateFile(const GURL& file_path, int64_t delta); |
| 68 virtual base::PlatformFileError OpenFile(const PepperFilePath& path, | 73 virtual base::PlatformFileError OpenFile(const PepperFilePath& path, |
| 69 int flags, | 74 int flags, |
| 70 base::PlatformFile* file); | 75 base::PlatformFile* file); |
| 71 virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path, | 76 virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path, |
| 72 const PepperFilePath& to_path); | 77 const PepperFilePath& to_path); |
| 73 virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path, | 78 virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path, |
| 74 bool recursive); | 79 bool recursive); |
| 75 virtual base::PlatformFileError CreateDir(const PepperFilePath& path); | 80 virtual base::PlatformFileError CreateDir(const PepperFilePath& path); |
| 76 virtual base::PlatformFileError QueryFile(const PepperFilePath& path, | 81 virtual base::PlatformFileError QueryFile(const PepperFilePath& path, |
| 77 base::PlatformFileInfo* info); | 82 base::PlatformFileInfo* info); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 107 virtual double GetLocalTimeZoneOffset(base::Time t); | 112 virtual double GetLocalTimeZoneOffset(base::Time t); |
| 108 virtual std::string GetFlashCommandLineArgs(); | 113 virtual std::string GetFlashCommandLineArgs(); |
| 109 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); | 114 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); |
| 110 virtual ::ppapi::Preferences GetPreferences(); | 115 virtual ::ppapi::Preferences GetPreferences(); |
| 111 }; | 116 }; |
| 112 | 117 |
| 113 } // namespace ppapi | 118 } // namespace ppapi |
| 114 } // namespace webkit | 119 } // namespace webkit |
| 115 | 120 |
| 116 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 121 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |