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

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

Issue 1774443002: Replace template_util.h stuff with C++11 <type_traits> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert unrelated whitespace change Created 4 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
« no previous file with comments | « google_apis/drive/test_util.h ('k') | net/socket/client_socket_pool_manager_impl.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) 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/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/template_util.h"
15 #include "base/time/time.h" 14 #include "base/time/time.h"
16 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.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"
20 #include "net/dns/host_resolver.h" 19 #include "net/dns/host_resolver.h"
21 20
22 namespace base { 21 namespace base {
23 class DictionaryValue; 22 class DictionaryValue;
24 } 23 }
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 const std::string& group_name, 197 const std::string& group_name,
199 const scoped_refptr<typename PoolType::SocketParams>& params, 198 const scoped_refptr<typename PoolType::SocketParams>& params,
200 int num_sockets, 199 int num_sockets,
201 const BoundNetLog& net_log) { 200 const BoundNetLog& net_log) {
202 pool->RequestSockets(group_name, &params, num_sockets, net_log); 201 pool->RequestSockets(group_name, &params, num_sockets, net_log);
203 } 202 }
204 203
205 } // namespace net 204 } // namespace net
206 205
207 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_H_ 206 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « google_apis/drive/test_util.h ('k') | net/socket/client_socket_pool_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698