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

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

Issue 6503001: clang: Fix several -Woverloaded-virtual warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
OLDNEW
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_stream_factory.h" 5 #include "net/http/http_stream_factory.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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 int num_sockets, 117 int num_sockets,
118 const BoundNetLog& net_log) { 118 const BoundNetLog& net_log) {
119 last_num_streams_ = num_sockets; 119 last_num_streams_ = num_sockets;
120 } 120 }
121 121
122 virtual void CancelRequest(const std::string& group_name, 122 virtual void CancelRequest(const std::string& group_name,
123 ClientSocketHandle* handle) { 123 ClientSocketHandle* handle) {
124 ADD_FAILURE(); 124 ADD_FAILURE();
125 } 125 }
126 virtual void ReleaseSocket(const std::string& group_name, 126 virtual void ReleaseSocket(const std::string& group_name,
127 ClientSocket* socket) { 127 ClientSocket* socket,
128 int id) {
128 ADD_FAILURE(); 129 ADD_FAILURE();
129 } 130 }
130 virtual void CloseIdleSockets() { 131 virtual void CloseIdleSockets() {
131 ADD_FAILURE(); 132 ADD_FAILURE();
132 } 133 }
133 virtual int IdleSocketCount() const { 134 virtual int IdleSocketCount() const {
134 ADD_FAILURE(); 135 ADD_FAILURE();
135 return 0; 136 return 0;
136 } 137 }
137 virtual int IdleSocketCountInGroup(const std::string& group_name) const { 138 virtual int IdleSocketCountInGroup(const std::string& group_name) const {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 if (kTests[i].ssl) 281 if (kTests[i].ssl)
281 EXPECT_EQ(-1, ssl_conn_pool->last_num_streams()); 282 EXPECT_EQ(-1, ssl_conn_pool->last_num_streams());
282 else 283 else
283 EXPECT_EQ(kTests[i].num_streams, tcp_conn_pool->last_num_streams()); 284 EXPECT_EQ(kTests[i].num_streams, tcp_conn_pool->last_num_streams());
284 } 285 }
285 } 286 }
286 287
287 } // namespace 288 } // namespace
288 289
289 } // namespace net 290 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | webkit/plugins/npapi/test/plugin_schedule_timer_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698