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

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

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: Created 4 years, 2 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 | « net/proxy/network_delegate_error_observer.h ('k') | net/proxy/proxy_config_service_fixed.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_POLLING_PROXY_CONFIG_SERVICE_H_ 5 #ifndef NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_
6 #define NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ 6 #define NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "net/base/net_export.h"
12 #include "net/proxy/proxy_config_service.h" 13 #include "net/proxy/proxy_config_service.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 // PollingProxyConfigService is a base class for creating ProxyConfigService 17 // PollingProxyConfigService is a base class for creating ProxyConfigService
17 // implementations that use polling to notice when settings have change. 18 // implementations that use polling to notice when settings have change.
18 // 19 //
19 // It runs code to get the current proxy settings on a background worker 20 // It runs code to get the current proxy settings on a background worker
20 // thread, and notifies registered observers when the value changes. 21 // thread, and notifies registered observers when the value changes.
21 class NET_EXPORT_PRIVATE PollingProxyConfigService : public ProxyConfigService { 22 class NET_EXPORT_PRIVATE PollingProxyConfigService : public ProxyConfigService {
(...skipping 25 matching lines...) Expand all
47 private: 48 private:
48 class Core; 49 class Core;
49 scoped_refptr<Core> core_; 50 scoped_refptr<Core> core_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(PollingProxyConfigService); 52 DISALLOW_COPY_AND_ASSIGN(PollingProxyConfigService);
52 }; 53 };
53 54
54 } // namespace net 55 } // namespace net
55 56
56 #endif // NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ 57 #endif // NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_
OLDNEW
« no previous file with comments | « net/proxy/network_delegate_error_observer.h ('k') | net/proxy/proxy_config_service_fixed.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698