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

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

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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/shared_impl/ppapi_preferences.h" 9 #include "ppapi/shared_impl/ppapi_preferences.h"
10 10
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 base::PlatformFileInfo* info) { 181 base::PlatformFileInfo* info) {
182 return base::PLATFORM_FILE_ERROR_FAILED; 182 return base::PLATFORM_FILE_ERROR_FAILED;
183 } 183 }
184 184
185 base::PlatformFileError MockPluginDelegate::GetDirContents( 185 base::PlatformFileError MockPluginDelegate::GetDirContents(
186 const PepperFilePath& path, 186 const PepperFilePath& path,
187 DirContents* contents) { 187 DirContents* contents) {
188 return base::PLATFORM_FILE_ERROR_FAILED; 188 return base::PLATFORM_FILE_ERROR_FAILED;
189 } 189 }
190 190
191 void MockPluginDelegate::SyncGetFileSystemPlatformPath(
192 const GURL& url,
193 FilePath* platform_path) {
194 DCHECK(platform_path);
195 *platform_path = FilePath();
196 }
197
191 void MockPluginDelegate::PublishPolicy(const std::string& policy_json) { 198 void MockPluginDelegate::PublishPolicy(const std::string& policy_json) {
192 } 199 }
193 200
194 scoped_refptr<base::MessageLoopProxy> 201 scoped_refptr<base::MessageLoopProxy>
195 MockPluginDelegate::GetFileThreadMessageLoopProxy() { 202 MockPluginDelegate::GetFileThreadMessageLoopProxy() {
196 return scoped_refptr<base::MessageLoopProxy>(); 203 return scoped_refptr<base::MessageLoopProxy>();
197 } 204 }
198 205
199 int32_t MockPluginDelegate::ConnectTcp( 206 int32_t MockPluginDelegate::ConnectTcp(
200 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 207 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 uint32_t size) { 282 uint32_t size) {
276 return NULL; 283 return NULL;
277 } 284 }
278 285
279 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { 286 ::ppapi::Preferences MockPluginDelegate::GetPreferences() {
280 return ::ppapi::Preferences(); 287 return ::ppapi::Preferences();
281 } 288 }
282 289
283 } // namespace ppapi 290 } // namespace ppapi
284 } // namespace webkit 291 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698