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

Side by Side Diff: net/http/http_network_transaction_unittest.cc

Issue 6930014: Rename ClientSocket to StreamSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/ftp/ftp_network_transaction.cc ('k') | net/http/http_proxy_client_socket.h » ('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) 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
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
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
OLDNEW
« no previous file with comments | « net/ftp/ftp_network_transaction.cc ('k') | net/http/http_proxy_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698