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

Side by Side Diff: net/base/client_socket_pool.h

Issue 46039: Removed unneeded includes of base/scoped_ptr.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « media/filters/null_audio_renderer.h ('k') | net/base/net_util.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef NET_BASE_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_BASE_CLIENT_SOCKET_POOL_H_
6 #define NET_BASE_CLIENT_SOCKET_POOL_H_ 6 #define NET_BASE_CLIENT_SOCKET_POOL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_ptr.h"
13 #include "base/timer.h" 14 #include "base/timer.h"
14 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.h"
15 16
16 namespace net { 17 namespace net {
17 18
18 class ClientSocket; 19 class ClientSocket;
19 class ClientSocketHandle; 20 class ClientSocketHandle;
20 21
21 // A ClientSocketPool is used to restrict the number of sockets open at a time. 22 // A ClientSocketPool is used to restrict the number of sockets open at a time.
22 // It also maintains a list of idle persistent sockets. 23 // It also maintains a list of idle persistent sockets.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 137
137 // The maximum number of sockets kept per group. 138 // The maximum number of sockets kept per group.
138 int max_sockets_per_group_; 139 int max_sockets_per_group_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(ClientSocketPool); 141 DISALLOW_COPY_AND_ASSIGN(ClientSocketPool);
141 }; 142 };
142 143
143 } // namespace net 144 } // namespace net
144 145
145 #endif // NET_BASE_CLIENT_SOCKET_POOL_H_ 146 #endif // NET_BASE_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « media/filters/null_audio_renderer.h ('k') | net/base/net_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698