OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/http/http_network_transaction.h" | 5 #include "net/http/http_network_transaction.h" |
6 | 6 |
7 #include <math.h> // ceil | 7 #include <math.h> // ceil |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 RequestPriority priority, | 264 RequestPriority priority, |
265 ClientSocketHandle* handle, | 265 ClientSocketHandle* handle, |
266 CompletionCallback* callback, | 266 CompletionCallback* callback, |
267 const BoundNetLog& net_log) { | 267 const BoundNetLog& net_log) { |
268 last_group_name_ = group_name; | 268 last_group_name_ = group_name; |
269 return ERR_IO_PENDING; | 269 return ERR_IO_PENDING; |
270 } | 270 } |
271 virtual void CancelRequest(const std::string& group_name, | 271 virtual void CancelRequest(const std::string& group_name, |
272 ClientSocketHandle* handle) {} | 272 ClientSocketHandle* handle) {} |
273 virtual void ReleaseSocket(const std::string& group_name, | 273 virtual void ReleaseSocket(const std::string& group_name, |
274 ClientSocket* socket) {} | 274 ClientSocket* socket, |
| 275 int id) {} |
275 virtual void CloseIdleSockets() {} | 276 virtual void CloseIdleSockets() {} |
276 virtual int IdleSocketCount() const { | 277 virtual int IdleSocketCount() const { |
277 return 0; | 278 return 0; |
278 } | 279 } |
279 virtual int IdleSocketCountInGroup(const std::string& group_name) const { | 280 virtual int IdleSocketCountInGroup(const std::string& group_name) const { |
280 return 0; | 281 return 0; |
281 } | 282 } |
282 virtual LoadState GetLoadState(const std::string& group_name, | 283 virtual LoadState GetLoadState(const std::string& group_name, |
283 const ClientSocketHandle* handle) const { | 284 const ClientSocketHandle* handle) const { |
284 return LOAD_STATE_IDLE; | 285 return LOAD_STATE_IDLE; |
(...skipping 8292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8577 // Now that the new handshake has failed, ensure that the client | 8578 // Now that the new handshake has failed, ensure that the client |
8578 // certificate was removed from the client auth cache. | 8579 // certificate was removed from the client auth cache. |
8579 ASSERT_FALSE(session->ssl_client_auth_cache()->Lookup("proxy:70", | 8580 ASSERT_FALSE(session->ssl_client_auth_cache()->Lookup("proxy:70", |
8580 &client_cert)); | 8581 &client_cert)); |
8581 ASSERT_FALSE(session->ssl_client_auth_cache()->Lookup("www.example.com:443", | 8582 ASSERT_FALSE(session->ssl_client_auth_cache()->Lookup("www.example.com:443", |
8582 &client_cert)); | 8583 &client_cert)); |
8583 } | 8584 } |
8584 } | 8585 } |
8585 | 8586 |
8586 } // namespace net | 8587 } // namespace net |
OLD | NEW |