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

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

Issue 8525020: Cleanup: Remove unneeded forward declararations in net. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « net/proxy/proxy_script_fetcher_impl.h ('k') | net/server/http_connection.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) 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_PROXY_SERVICE_H_ 5 #ifndef NET_PROXY_PROXY_SERVICE_H_
6 #define NET_PROXY_PROXY_SERVICE_H_ 6 #define NET_PROXY_PROXY_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
15 #include "base/threading/non_thread_safe.h" 16 #include "base/threading/non_thread_safe.h"
16 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
17 #include "net/base/load_states.h" 18 #include "net/base/load_states.h"
18 #include "net/base/net_export.h" 19 #include "net/base/net_export.h"
19 #include "net/base/net_log.h" 20 #include "net/base/net_log.h"
20 #include "net/base/network_change_notifier.h" 21 #include "net/base/network_change_notifier.h"
21 #include "net/proxy/proxy_config_service.h" 22 #include "net/proxy/proxy_config_service.h"
22 #include "net/proxy/proxy_info.h" 23 #include "net/proxy/proxy_info.h"
23 #include "net/proxy/proxy_server.h" 24 #include "net/proxy/proxy_server.h"
24 25
25 class GURL; 26 class GURL;
26 class MessageLoop; 27 class MessageLoop;
27 28
28 namespace net { 29 namespace net {
29 30
30 class DhcpProxyScriptFetcher; 31 class DhcpProxyScriptFetcher;
31 class HostResolver; 32 class HostResolver;
32 class InitProxyResolver; 33 class InitProxyResolver;
33 class NetworkDelegate; 34 class NetworkDelegate;
34 class ProxyResolver; 35 class ProxyResolver;
35 class ProxyScriptFetcher; 36 class ProxyScriptFetcher;
36 class URLRequestContext;
37 37
38 // This class can be used to resolve the proxy server to use when loading a 38 // This class can be used to resolve the proxy server to use when loading a
39 // HTTP(S) URL. It uses the given ProxyResolver to handle the actual proxy 39 // HTTP(S) URL. It uses the given ProxyResolver to handle the actual proxy
40 // resolution. See ProxyResolverV8 for example. 40 // resolution. See ProxyResolverV8 for example.
41 class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, 41 class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver,
42 public ProxyConfigService::Observer, 42 public ProxyConfigService::Observer,
43 NON_EXPORTED_BASE(public base::NonThreadSafe) { 43 NON_EXPORTED_BASE(public base::NonThreadSafe) {
44 public: 44 public:
45 // The instance takes ownership of |config_service| and |resolver|. 45 // The instance takes ownership of |config_service| and |resolver|.
46 // |net_log| is a possibly NULL destination to send log events to. It must 46 // |net_log| is a possibly NULL destination to send log events to. It must
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 399
400 base::WaitableEvent event_; 400 base::WaitableEvent event_;
401 OldCompletionCallbackImpl<SyncProxyServiceHelper> callback_; 401 OldCompletionCallbackImpl<SyncProxyServiceHelper> callback_;
402 ProxyInfo proxy_info_; 402 ProxyInfo proxy_info_;
403 int result_; 403 int result_;
404 }; 404 };
405 405
406 } // namespace net 406 } // namespace net
407 407
408 #endif // NET_PROXY_PROXY_SERVICE_H_ 408 #endif // NET_PROXY_PROXY_SERVICE_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_script_fetcher_impl.h ('k') | net/server/http_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698