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

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, 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 | 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 const std::string& host, 252 const std::string& host,
253 uint16_t port) { 253 uint16_t port) {
254 } 254 }
255 255
256 void MockPluginDelegate::TCPSocketConnectWithNetAddress( 256 void MockPluginDelegate::TCPSocketConnectWithNetAddress(
257 PPB_TCPSocket_Private_Impl* socket, 257 PPB_TCPSocket_Private_Impl* socket,
258 uint32 socket_id, 258 uint32 socket_id,
259 const PP_NetAddress_Private& addr) { 259 const PP_NetAddress_Private& addr) {
260 } 260 }
261 261
262 void MockPluginDelegate::TCPSocketSSLHandshake(uint32 socket_id, 262 void MockPluginDelegate::TCPSocketSSLHandshake(
263 const std::string& server_name, 263 uint32 socket_id,
264 uint16_t server_port) { 264 const std::string& server_name,
265 uint16_t server_port,
266 const std::vector<std::vector<char> >& trusted_certs,
267 const std::vector<std::vector<char> >& untrusted_certs) {
265 } 268 }
266 269
267 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, 270 void MockPluginDelegate::TCPSocketRead(uint32 socket_id,
268 int32_t bytes_to_read) { 271 int32_t bytes_to_read) {
269 } 272 }
270 273
271 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, 274 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id,
272 const std::string& buffer) { 275 const std::string& buffer) {
273 } 276 }
274 277
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 return -1; 429 return -1;
427 } 430 }
428 431
429 webkit_glue::ClipboardClient* 432 webkit_glue::ClipboardClient*
430 MockPluginDelegate::CreateClipboardClient() const { 433 MockPluginDelegate::CreateClipboardClient() const {
431 return NULL; 434 return NULL;
432 } 435 }
433 436
434 } // namespace ppapi 437 } // namespace ppapi
435 } // namespace webkit 438 } // 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