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

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

Issue 9699100: Add functionality to pppapi TCPSocket to support secure sockets in flash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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 "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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 const std::string& host, 243 const std::string& host,
244 uint16_t port) { 244 uint16_t port) {
245 } 245 }
246 246
247 void MockPluginDelegate::TCPSocketConnectWithNetAddress( 247 void MockPluginDelegate::TCPSocketConnectWithNetAddress(
248 PPB_TCPSocket_Private_Impl* socket, 248 PPB_TCPSocket_Private_Impl* socket,
249 uint32 socket_id, 249 uint32 socket_id,
250 const PP_NetAddress_Private& addr) { 250 const PP_NetAddress_Private& addr) {
251 } 251 }
252 252
253 void MockPluginDelegate::TCPSocketSSLHandshake(uint32 socket_id, 253 void MockPluginDelegate::TCPSocketSSLHandshake(
254 const std::string& server_name, 254 uint32 socket_id,
255 uint16_t server_port) { 255 const std::string& server_name,
256 uint16_t server_port,
257 const std::vector<std::vector<char> >& trusted_certs,
258 const std::vector<std::vector<char> >& untrusted_certs) {
256 } 259 }
257 260
258 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, 261 void MockPluginDelegate::TCPSocketRead(uint32 socket_id,
259 int32_t bytes_to_read) { 262 int32_t bytes_to_read) {
260 } 263 }
261 264
262 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, 265 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id,
263 const std::string& buffer) { 266 const std::string& buffer) {
264 } 267 }
265 268
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 return -1; 434 return -1;
432 } 435 }
433 436
434 webkit_glue::ClipboardClient* 437 webkit_glue::ClipboardClient*
435 MockPluginDelegate::CreateClipboardClient() const { 438 MockPluginDelegate::CreateClipboardClient() const {
436 return NULL; 439 return NULL;
437 } 440 }
438 441
439 } // namespace ppapi 442 } // namespace ppapi
440 } // namespace webkit 443 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698