OLD | NEW |
1 // Copyright (c) 2011 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/notifier/base/fake_ssl_client_socket.h" | 5 #include "jingle/notifier/base/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" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 } | 331 } |
332 | 332 |
333 int64 FakeSSLClientSocket::NumBytesRead() const { | 333 int64 FakeSSLClientSocket::NumBytesRead() const { |
334 return transport_socket_->NumBytesRead(); | 334 return transport_socket_->NumBytesRead(); |
335 } | 335 } |
336 | 336 |
337 base::TimeDelta FakeSSLClientSocket::GetConnectTimeMicros() const { | 337 base::TimeDelta FakeSSLClientSocket::GetConnectTimeMicros() const { |
338 return transport_socket_->GetConnectTimeMicros(); | 338 return transport_socket_->GetConnectTimeMicros(); |
339 } | 339 } |
340 | 340 |
| 341 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const { |
| 342 return transport_socket_->GetNegotiatedProtocol(); |
| 343 } |
| 344 |
341 } // namespace notifier | 345 } // namespace notifier |
OLD | NEW |