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

Side by Side Diff: content/renderer/pepper/mock_plugin_delegate.cc

Issue 19005006: Switched proxy for TCPServerSocketPrivate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 7 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) 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 "content/renderer/pepper/mock_plugin_delegate.h" 5 #include "content/renderer/pepper/mock_plugin_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 9 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
10 #include "content/renderer/pepper/plugin_delegate.h" 10 #include "content/renderer/pepper/plugin_delegate.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 const ::ppapi::SocketOptionData& value) { 226 const ::ppapi::SocketOptionData& value) {
227 } 227 }
228 228
229 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) { 229 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) {
230 } 230 }
231 231
232 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, 232 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
233 uint32 socket_id) { 233 uint32 socket_id) {
234 } 234 }
235 235
236 void MockPluginDelegate::TCPServerSocketListen(
237 PP_Resource socket_resource,
238 const PP_NetAddress_Private& addr,
239 int32_t backlog) {
240 }
241
242 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) {
243 }
244
245 void MockPluginDelegate::TCPServerSocketStopListening(
246 PP_Resource socket_resource,
247 uint32 socket_id) {
248 }
249
250 bool MockPluginDelegate::X509CertificateParseDER( 236 bool MockPluginDelegate::X509CertificateParseDER(
251 const std::vector<char>& der, 237 const std::vector<char>& der,
252 ::ppapi::PPB_X509Certificate_Fields* fields) { 238 ::ppapi::PPB_X509Certificate_Fields* fields) {
253 return false; 239 return false;
254 } 240 }
255 241
256 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( 242 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer(
257 PepperPluginInstanceImpl* instance) { 243 PepperPluginInstanceImpl* instance) {
258 return NULL; 244 return NULL;
259 } 245 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 scoped_refptr<PluginModule> module, 316 scoped_refptr<PluginModule> module,
331 const base::FilePath& path, 317 const base::FilePath& path,
332 ::ppapi::PpapiPermissions permissions, 318 ::ppapi::PpapiPermissions permissions,
333 const IPC::ChannelHandle& channel_handle, 319 const IPC::ChannelHandle& channel_handle,
334 base::ProcessId plugin_pid, 320 base::ProcessId plugin_pid,
335 int plugin_child_id) { 321 int plugin_child_id) {
336 return NULL; 322 return NULL;
337 } 323 }
338 324
339 } // namespace content 325 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698