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

Side by Side Diff: net/http/http_stream_factory_impl_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/http/http_proxy_client_socket_pool.cc ('k') | net/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_stream_factory_impl.h" 5 #include "net/http/http_stream_factory_impl.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "net/base/cert_verifier.h" 10 #include "net/base/cert_verifier.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 int num_sockets, 148 int num_sockets,
149 const BoundNetLog& net_log) { 149 const BoundNetLog& net_log) {
150 last_num_streams_ = num_sockets; 150 last_num_streams_ = num_sockets;
151 } 151 }
152 152
153 virtual void CancelRequest(const std::string& group_name, 153 virtual void CancelRequest(const std::string& group_name,
154 ClientSocketHandle* handle) { 154 ClientSocketHandle* handle) {
155 ADD_FAILURE(); 155 ADD_FAILURE();
156 } 156 }
157 virtual void ReleaseSocket(const std::string& group_name, 157 virtual void ReleaseSocket(const std::string& group_name,
158 ClientSocket* socket, 158 StreamSocket* socket,
159 int id) { 159 int id) {
160 ADD_FAILURE(); 160 ADD_FAILURE();
161 } 161 }
162 virtual void CloseIdleSockets() { 162 virtual void CloseIdleSockets() {
163 ADD_FAILURE(); 163 ADD_FAILURE();
164 } 164 }
165 virtual int IdleSocketCount() const { 165 virtual int IdleSocketCount() const {
166 ADD_FAILURE(); 166 ADD_FAILURE();
167 return 0; 167 return 0;
168 } 168 }
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 if (kTests[i].ssl) 311 if (kTests[i].ssl)
312 EXPECT_EQ(-1, ssl_conn_pool->last_num_streams()); 312 EXPECT_EQ(-1, ssl_conn_pool->last_num_streams());
313 else 313 else
314 EXPECT_EQ(kTests[i].num_streams, transport_conn_pool->last_num_streams()); 314 EXPECT_EQ(kTests[i].num_streams, transport_conn_pool->last_num_streams());
315 } 315 }
316 } 316 }
317 317
318 } // namespace 318 } // namespace
319 319
320 } // namespace net 320 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_pool.cc ('k') | net/http/proxy_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698