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

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

Issue 11441012: PPB_UDPSocket_Private is switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 years, 11 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) 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 const std::string& buffer) { 264 const std::string& buffer) {
265 } 265 }
266 266
267 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) { 267 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) {
268 } 268 }
269 269
270 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, 270 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
271 uint32 socket_id) { 271 uint32 socket_id) {
272 } 272 }
273 273
274 uint32 MockPluginDelegate::UDPSocketCreate() {
275 return 0;
276 }
277
278 void MockPluginDelegate::UDPSocketSetBoolSocketFeature(
279 PPB_UDPSocket_Private_Impl* socket,
280 uint32 socket_id,
281 int32_t name,
282 bool value) {
283 }
284
285 void MockPluginDelegate::UDPSocketBind(PPB_UDPSocket_Private_Impl* socket,
286 uint32 socket_id,
287 const PP_NetAddress_Private& addr) {
288 }
289
290 void MockPluginDelegate::UDPSocketRecvFrom(uint32 socket_id,
291 int32_t num_bytes) {
292 }
293
294 void MockPluginDelegate::UDPSocketSendTo(uint32 socket_id,
295 const std::string& buffer,
296 const PP_NetAddress_Private& addr) {
297 }
298
299 void MockPluginDelegate::UDPSocketClose(uint32 socket_id) {
300 }
301
302 void MockPluginDelegate::TCPServerSocketListen( 274 void MockPluginDelegate::TCPServerSocketListen(
303 PP_Resource socket_resource, 275 PP_Resource socket_resource,
304 const PP_NetAddress_Private& addr, 276 const PP_NetAddress_Private& addr,
305 int32_t backlog) { 277 int32_t backlog) {
306 } 278 }
307 279
308 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) { 280 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) {
309 } 281 }
310 282
311 void MockPluginDelegate::TCPServerSocketStopListening( 283 void MockPluginDelegate::TCPServerSocketStopListening(
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 PP_DeviceType_Dev type, 386 PP_DeviceType_Dev type,
415 const EnumerateDevicesCallback& callback) { 387 const EnumerateDevicesCallback& callback) {
416 return -1; 388 return -1;
417 } 389 }
418 390
419 void MockPluginDelegate::StopEnumerateDevices(int request_id) { 391 void MockPluginDelegate::StopEnumerateDevices(int request_id) {
420 } 392 }
421 393
422 } // namespace ppapi 394 } // namespace ppapi
423 } // namespace webkit 395 } // 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