| 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_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 struct PP_NetAddress_Private; | 10 struct PP_NetAddress_Private; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 const GURL& new_file_path, | 92 const GURL& new_file_path, |
| 93 fileapi::FileSystemCallbackDispatcher* dispatcher); | 93 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 94 virtual bool ReadDirectory( | 94 virtual bool ReadDirectory( |
| 95 const GURL& directory_path, | 95 const GURL& directory_path, |
| 96 fileapi::FileSystemCallbackDispatcher* dispatcher); | 96 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 97 virtual void QueryAvailableSpace(const GURL& origin, | 97 virtual void QueryAvailableSpace(const GURL& origin, |
| 98 quota::StorageType type, | 98 quota::StorageType type, |
| 99 const AvailableSpaceCallback& callback); | 99 const AvailableSpaceCallback& callback); |
| 100 virtual void WillUpdateFile(const GURL& file_path); | 100 virtual void WillUpdateFile(const GURL& file_path); |
| 101 virtual void DidUpdateFile(const GURL& file_path, int64_t delta); | 101 virtual void DidUpdateFile(const GURL& file_path, int64_t delta); |
| 102 virtual base::PlatformFileError OpenFile( | |
| 103 const ::ppapi::PepperFilePath& path, | |
| 104 int flags, | |
| 105 base::PlatformFile* file); | |
| 106 virtual base::PlatformFileError RenameFile( | |
| 107 const ::ppapi::PepperFilePath& from_path, | |
| 108 const ::ppapi::PepperFilePath& to_path); | |
| 109 virtual base::PlatformFileError DeleteFileOrDir( | |
| 110 const ::ppapi::PepperFilePath& path, | |
| 111 bool recursive); | |
| 112 virtual base::PlatformFileError CreateDir( | |
| 113 const ::ppapi::PepperFilePath& path); | |
| 114 virtual base::PlatformFileError QueryFile( | |
| 115 const ::ppapi::PepperFilePath& path, | |
| 116 base::PlatformFileInfo* info); | |
| 117 virtual base::PlatformFileError GetDirContents( | |
| 118 const ::ppapi::PepperFilePath& path, | |
| 119 ::ppapi::DirContents* contents); | |
| 120 virtual base::PlatformFileError CreateTemporaryFile( | |
| 121 base::PlatformFile* file); | |
| 122 virtual void SyncGetFileSystemPlatformPath(const GURL& url, | 102 virtual void SyncGetFileSystemPlatformPath(const GURL& url, |
| 123 FilePath* platform_path); | 103 FilePath* platform_path); |
| 124 virtual scoped_refptr<base::MessageLoopProxy> | 104 virtual scoped_refptr<base::MessageLoopProxy> |
| 125 GetFileThreadMessageLoopProxy(); | 105 GetFileThreadMessageLoopProxy(); |
| 126 virtual uint32 TCPSocketCreate(); | 106 virtual uint32 TCPSocketCreate(); |
| 127 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, | 107 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, |
| 128 uint32 socket_id, | 108 uint32 socket_id, |
| 129 const std::string& host, | 109 const std::string& host, |
| 130 uint16_t port); | 110 uint16_t port); |
| 131 virtual void TCPSocketConnectWithNetAddress( | 111 virtual void TCPSocketConnectWithNetAddress( |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 virtual std::string GetDeviceID(); | 187 virtual std::string GetDeviceID(); |
| 208 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( | 188 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( |
| 209 const GURL& document_url, | 189 const GURL& document_url, |
| 210 const GURL& plugin_url); | 190 const GURL& plugin_url); |
| 211 }; | 191 }; |
| 212 | 192 |
| 213 } // namespace ppapi | 193 } // namespace ppapi |
| 214 } // namespace webkit | 194 } // namespace webkit |
| 215 | 195 |
| 216 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 196 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |