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

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

Issue 9669038: Added out-of-process support for server sockets. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync. Created 8 years, 9 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
« 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) 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 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/shared_impl/ppapi_preferences.h" 10 #include "ppapi/shared_impl/ppapi_preferences.h"
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 void MockPluginDelegate::UDPSocketSendTo(uint32 socket_id, 295 void MockPluginDelegate::UDPSocketSendTo(uint32 socket_id,
296 const std::string& buffer, 296 const std::string& buffer,
297 const PP_NetAddress_Private& addr) { 297 const PP_NetAddress_Private& addr) {
298 } 298 }
299 299
300 void MockPluginDelegate::UDPSocketClose(uint32 socket_id) { 300 void MockPluginDelegate::UDPSocketClose(uint32 socket_id) {
301 } 301 }
302 302
303 void MockPluginDelegate::TCPServerSocketListen( 303 void MockPluginDelegate::TCPServerSocketListen(
304 PPB_TCPServerSocket_Private_Impl* socket, 304 PP_Resource socket_resource,
305 uint32 temp_socket_id,
306 const PP_NetAddress_Private& addr, 305 const PP_NetAddress_Private& addr,
307 int32_t backlog) { 306 int32_t backlog) {
308 } 307 }
309 308
310 void MockPluginDelegate::TCPServerSocketAccept(uint32 real_socket_id) { 309 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) {
311 } 310 }
312 311
313 void MockPluginDelegate::TCPServerSocketStopListening(uint32 real_socket_id, 312 void MockPluginDelegate::TCPServerSocketStopListening(
314 uint32 temp_socket_id) { 313 PP_Resource socket_resource,
314 uint32 socket_id) {
315 } 315 }
316 316
317 void MockPluginDelegate::RegisterHostResolver( 317 void MockPluginDelegate::RegisterHostResolver(
318 ::ppapi::PPB_HostResolver_Shared* host_resolver, 318 ::ppapi::PPB_HostResolver_Shared* host_resolver,
319 uint32 host_resolver_id) { 319 uint32 host_resolver_id) {
320 } 320 }
321 321
322 void MockPluginDelegate::HostResolverResolve( 322 void MockPluginDelegate::HostResolverResolve(
323 uint32 host_resolver_id, 323 uint32 host_resolver_id,
324 const ::ppapi::HostPortPair& host_port, 324 const ::ppapi::HostPortPair& host_port,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 return -1; 434 return -1;
435 } 435 }
436 436
437 webkit_glue::ClipboardClient* 437 webkit_glue::ClipboardClient*
438 MockPluginDelegate::CreateClipboardClient() const { 438 MockPluginDelegate::CreateClipboardClient() const {
439 return NULL; 439 return NULL;
440 } 440 }
441 441
442 } // namespace ppapi 442 } // namespace ppapi
443 } // namespace webkit 443 } // 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