| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 RequestPriority priority, | 267 RequestPriority priority, |
| 268 ClientSocketHandle* handle, | 268 ClientSocketHandle* handle, |
| 269 CompletionCallback* callback, | 269 CompletionCallback* callback, |
| 270 const BoundNetLog& net_log) { | 270 const BoundNetLog& net_log) { |
| 271 last_group_name_ = group_name; | 271 last_group_name_ = group_name; |
| 272 return ERR_IO_PENDING; | 272 return ERR_IO_PENDING; |
| 273 } | 273 } |
| 274 virtual void CancelRequest(const std::string& group_name, | 274 virtual void CancelRequest(const std::string& group_name, |
| 275 ClientSocketHandle* handle) {} | 275 ClientSocketHandle* handle) {} |
| 276 virtual void ReleaseSocket(const std::string& group_name, | 276 virtual void ReleaseSocket(const std::string& group_name, |
| 277 ClientSocket* socket, | 277 StreamSocket* socket, |
| 278 int id) {} | 278 int id) {} |
| 279 virtual void CloseIdleSockets() {} | 279 virtual void CloseIdleSockets() {} |
| 280 virtual int IdleSocketCount() const { | 280 virtual int IdleSocketCount() const { |
| 281 return 0; | 281 return 0; |
| 282 } | 282 } |
| 283 virtual int IdleSocketCountInGroup(const std::string& group_name) const { | 283 virtual int IdleSocketCountInGroup(const std::string& group_name) const { |
| 284 return 0; | 284 return 0; |
| 285 } | 285 } |
| 286 virtual LoadState GetLoadState(const std::string& group_name, | 286 virtual LoadState GetLoadState(const std::string& group_name, |
| 287 const ClientSocketHandle* handle) const { | 287 const ClientSocketHandle* handle) const { |
| (...skipping 8352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8640 // Now that the new handshake has failed, ensure that the client | 8640 // Now that the new handshake has failed, ensure that the client |
| 8641 // certificate was removed from the client auth cache. | 8641 // certificate was removed from the client auth cache. |
| 8642 ASSERT_FALSE(session->ssl_client_auth_cache()->Lookup("proxy:70", | 8642 ASSERT_FALSE(session->ssl_client_auth_cache()->Lookup("proxy:70", |
| 8643 &client_cert)); | 8643 &client_cert)); |
| 8644 ASSERT_FALSE(session->ssl_client_auth_cache()->Lookup("www.example.com:443", | 8644 ASSERT_FALSE(session->ssl_client_auth_cache()->Lookup("www.example.com:443", |
| 8645 &client_cert)); | 8645 &client_cert)); |
| 8646 } | 8646 } |
| 8647 } | 8647 } |
| 8648 | 8648 |
| 8649 } // namespace net | 8649 } // namespace net |
| OLD | NEW |