| OLD | NEW |
| 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 "net/socket/client_socket_pool_base.h" | 5 #include "net/socket/client_socket_pool_base.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 168 |
| 169 int GetLocalAddress(IPEndPoint* /* address */) const override { | 169 int GetLocalAddress(IPEndPoint* /* address */) const override { |
| 170 return ERR_UNEXPECTED; | 170 return ERR_UNEXPECTED; |
| 171 } | 171 } |
| 172 | 172 |
| 173 const BoundNetLog& NetLog() const override { return net_log_; } | 173 const BoundNetLog& NetLog() const override { return net_log_; } |
| 174 | 174 |
| 175 void SetSubresourceSpeculation() override {} | 175 void SetSubresourceSpeculation() override {} |
| 176 void SetOmniboxSpeculation() override {} | 176 void SetOmniboxSpeculation() override {} |
| 177 bool WasEverUsed() const override { return was_used_to_convey_data_; } | 177 bool WasEverUsed() const override { return was_used_to_convey_data_; } |
| 178 bool UsingTCPFastOpen() const override { return false; } | |
| 179 bool WasNpnNegotiated() const override { return false; } | 178 bool WasNpnNegotiated() const override { return false; } |
| 180 NextProto GetNegotiatedProtocol() const override { return kProtoUnknown; } | 179 NextProto GetNegotiatedProtocol() const override { return kProtoUnknown; } |
| 181 bool GetSSLInfo(SSLInfo* ssl_info) override { return false; } | 180 bool GetSSLInfo(SSLInfo* ssl_info) override { return false; } |
| 182 void GetConnectionAttempts(ConnectionAttempts* out) const override { | 181 void GetConnectionAttempts(ConnectionAttempts* out) const override { |
| 183 out->clear(); | 182 out->clear(); |
| 184 } | 183 } |
| 185 void ClearConnectionAttempts() override {} | 184 void ClearConnectionAttempts() override {} |
| 186 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} | 185 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} |
| 187 int64_t GetTotalReceivedBytes() const override { | 186 int64_t GetTotalReceivedBytes() const override { |
| 188 NOTIMPLEMENTED(); | 187 NOTIMPLEMENTED(); |
| (...skipping 3650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3839 request(1)->handle()->Reset(); | 3838 request(1)->handle()->Reset(); |
| 3840 ASSERT_EQ(1, pool_->NumConnectJobsInGroup("a")); | 3839 ASSERT_EQ(1, pool_->NumConnectJobsInGroup("a")); |
| 3841 | 3840 |
| 3842 EXPECT_EQ(OK, request(2)->WaitForResult()); | 3841 EXPECT_EQ(OK, request(2)->WaitForResult()); |
| 3843 EXPECT_FALSE(request(1)->have_result()); | 3842 EXPECT_FALSE(request(1)->have_result()); |
| 3844 } | 3843 } |
| 3845 | 3844 |
| 3846 } // namespace | 3845 } // namespace |
| 3847 | 3846 |
| 3848 } // namespace net | 3847 } // namespace net |
| OLD | NEW |