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

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

Issue 12518036: net: move host_resolver files from net/base to net/dns (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SOCKET_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_CLIENT_SOCKET_POOL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/template_util.h"
13 #include "base/time.h" 14 #include "base/time.h"
14 #include "base/template_util.h"
15 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.h"
16 #include "net/base/host_resolver.h"
17 #include "net/base/load_states.h" 16 #include "net/base/load_states.h"
18 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
19 #include "net/base/request_priority.h" 18 #include "net/base/request_priority.h"
19 #include "net/dns/host_resolver.h"
20 20
21 namespace base { 21 namespace base {
22 class DictionaryValue; 22 class DictionaryValue;
23 } 23 }
24 24
25 namespace net { 25 namespace net {
26 26
27 class ClientSocketHandle; 27 class ClientSocketHandle;
28 class ClientSocketPoolHistograms; 28 class ClientSocketPoolHistograms;
29 class StreamSocket; 29 class StreamSocket;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 const scoped_refptr<SocketParams>& params, 211 const scoped_refptr<SocketParams>& params,
212 int num_sockets, 212 int num_sockets,
213 const BoundNetLog& net_log) { 213 const BoundNetLog& net_log) {
214 CheckIsValidSocketParamsForPool<PoolType, SocketParams>(); 214 CheckIsValidSocketParamsForPool<PoolType, SocketParams>();
215 pool->RequestSockets(group_name, &params, num_sockets, net_log); 215 pool->RequestSockets(group_name, &params, num_sockets, net_log);
216 } 216 }
217 217
218 } // namespace net 218 } // namespace net
219 219
220 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_H_ 220 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698