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

Side by Side Diff: jingle/glue/fake_ssl_client_socket.cc

Issue 1096203006: Collect all ConnectionAttempts from both sockets in TransportConnectJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@domrel_serverip1
Patch Set: Return fake ConnectionAttempt in MockTCPClientSocket Created 5 years, 7 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 | « jingle/glue/fake_ssl_client_socket.h ('k') | jingle/glue/fake_ssl_client_socket_unittest.cc » ('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 "jingle/glue/fake_ssl_client_socket.h" 5 #include "jingle/glue/fake_ssl_client_socket.h"
6 6
7 #include <cstdlib> 7 #include <cstdlib>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 } 337 }
338 338
339 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const { 339 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const {
340 return transport_socket_->GetNegotiatedProtocol(); 340 return transport_socket_->GetNegotiatedProtocol();
341 } 341 }
342 342
343 bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { 343 bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) {
344 return transport_socket_->GetSSLInfo(ssl_info); 344 return transport_socket_->GetSSLInfo(ssl_info);
345 } 345 }
346 346
347 void FakeSSLClientSocket::GetConnectionAttempts(
348 net::ConnectionAttempts* out) const {
349 out->clear();
350 }
351
347 } // namespace jingle_glue 352 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/fake_ssl_client_socket.h ('k') | jingle/glue/fake_ssl_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698