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

Side by Side Diff: net/proxy/multi_threaded_proxy_resolver.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
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 #ifndef NET_PROXY_MULTI_THREADED_PROXY_RESOLVER_H_ 5 #ifndef NET_PROXY_MULTI_THREADED_PROXY_RESOLVER_H_
6 #define NET_PROXY_MULTI_THREADED_PROXY_RESOLVER_H_ 6 #define NET_PROXY_MULTI_THREADED_PROXY_RESOLVER_H_
7 7
8 #include <stddef.h>
9
8 #include <set> 10 #include <set>
9 11
10 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
14 #include "net/proxy/proxy_resolver_factory.h" 15 #include "net/proxy/proxy_resolver_factory.h"
15 16
16 namespace net { 17 namespace net {
17 class ProxyResolver; 18 class ProxyResolver;
18 19
19 // MultiThreadedProxyResolverFactory creates instances of a ProxyResolver 20 // MultiThreadedProxyResolverFactory creates instances of a ProxyResolver
20 // implementation that runs synchronous ProxyResolver implementations on worker 21 // implementation that runs synchronous ProxyResolver implementations on worker
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void RemoveJob(Job* job); 71 void RemoveJob(Job* job);
71 72
72 const size_t max_num_threads_; 73 const size_t max_num_threads_;
73 74
74 std::set<Job*> jobs_; 75 std::set<Job*> jobs_;
75 }; 76 };
76 77
77 } // namespace net 78 } // namespace net
78 79
79 #endif // NET_PROXY_MULTI_THREADED_PROXY_RESOLVER_H_ 80 #endif // NET_PROXY_MULTI_THREADED_PROXY_RESOLVER_H_
OLDNEW
« no previous file with comments | « net/proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc ('k') | net/proxy/network_delegate_error_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698