Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 7618039: PPB_URLRequestInfo::AppendFileToBody using sync ipc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 base::PlatformFile* file); 77 base::PlatformFile* file);
78 virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path, 78 virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path,
79 const PepperFilePath& to_path); 79 const PepperFilePath& to_path);
80 virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path, 80 virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path,
81 bool recursive); 81 bool recursive);
82 virtual base::PlatformFileError CreateDir(const PepperFilePath& path); 82 virtual base::PlatformFileError CreateDir(const PepperFilePath& path);
83 virtual base::PlatformFileError QueryFile(const PepperFilePath& path, 83 virtual base::PlatformFileError QueryFile(const PepperFilePath& path,
84 base::PlatformFileInfo* info); 84 base::PlatformFileInfo* info);
85 virtual base::PlatformFileError GetDirContents(const PepperFilePath& path, 85 virtual base::PlatformFileError GetDirContents(const PepperFilePath& path,
86 DirContents* contents); 86 DirContents* contents);
87 virtual void SyncGetFileSystemPlatformPath(const GURL& url,
88 FilePath* platform_path);
87 virtual void PublishPolicy(const std::string& policy_json); 89 virtual void PublishPolicy(const std::string& policy_json);
88 virtual scoped_refptr<base::MessageLoopProxy> 90 virtual scoped_refptr<base::MessageLoopProxy>
89 GetFileThreadMessageLoopProxy(); 91 GetFileThreadMessageLoopProxy();
90 virtual int32_t ConnectTcp( 92 virtual int32_t ConnectTcp(
91 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 93 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
92 const char* host, 94 const char* host,
93 uint16_t port); 95 uint16_t port);
94 virtual int32_t ConnectTcpAddress( 96 virtual int32_t ConnectTcpAddress(
95 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 97 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
96 const struct PP_Flash_NetAddress* addr); 98 const struct PP_Flash_NetAddress* addr);
(...skipping 19 matching lines...) Expand all
116 virtual double GetLocalTimeZoneOffset(base::Time t); 118 virtual double GetLocalTimeZoneOffset(base::Time t);
117 virtual std::string GetFlashCommandLineArgs(); 119 virtual std::string GetFlashCommandLineArgs();
118 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); 120 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size);
119 virtual ::ppapi::Preferences GetPreferences(); 121 virtual ::ppapi::Preferences GetPreferences();
120 }; 122 };
121 123
122 } // namespace ppapi 124 } // namespace ppapi
123 } // namespace webkit 125 } // namespace webkit
124 126
125 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 127 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698