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

Side by Side Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG _H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG _H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG _H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG _H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 16 matching lines...) Expand all
27 #include "net/proxy/proxy_config.h" 27 #include "net/proxy/proxy_config.h"
28 #include "net/proxy/proxy_retry_info.h" 28 #include "net/proxy/proxy_retry_info.h"
29 29
30 class GURL; 30 class GURL;
31 31
32 namespace base { 32 namespace base {
33 class SingleThreadTaskRunner; 33 class SingleThreadTaskRunner;
34 } 34 }
35 35
36 namespace net { 36 namespace net {
37 class HostPortPair;
38 class NetLog; 37 class NetLog;
39 class ProxyServer; 38 class ProxyServer;
40 class URLFetcher;
41 class URLRequest; 39 class URLRequest;
42 class URLRequestContextGetter; 40 class URLRequestContextGetter;
43 class URLRequestStatus; 41 class URLRequestStatus;
44 } 42 }
45 43
46 namespace data_reduction_proxy { 44 namespace data_reduction_proxy {
47 45
48 typedef base::Callback<void(const std::string&, 46 typedef base::Callback<void(const std::string&,
49 const net::URLRequestStatus&, 47 const net::URLRequestStatus&,
50 int)> FetcherResponseCallback; 48 int)> FetcherResponseCallback;
51 49
52 class DataReductionProxyConfigValues; 50 class DataReductionProxyConfigValues;
53 class DataReductionProxyConfigurator; 51 class DataReductionProxyConfigurator;
54 class DataReductionProxyEventCreator; 52 class DataReductionProxyEventCreator;
55 class DataReductionProxyService;
56 class SecureProxyChecker; 53 class SecureProxyChecker;
57 struct DataReductionProxyTypeInfo; 54 struct DataReductionProxyTypeInfo;
58 55
59 // Values of the UMA DataReductionProxy.ProbeURL histogram. 56 // Values of the UMA DataReductionProxy.ProbeURL histogram.
60 // This enum must remain synchronized with 57 // This enum must remain synchronized with
61 // DataReductionProxyProbeURLFetchResult in metrics/histograms/histograms.xml. 58 // DataReductionProxyProbeURLFetchResult in metrics/histograms/histograms.xml.
62 enum SecureProxyCheckFetchResult { 59 enum SecureProxyCheckFetchResult {
63 // The secure proxy check failed because the Internet was disconnected. 60 // The secure proxy check failed because the Internet was disconnected.
64 INTERNET_DISCONNECTED = 0, 61 INTERNET_DISCONNECTED = 0,
65 62
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 std::vector<base::TimeDelta> lofi_accuracy_recording_intervals_; 386 std::vector<base::TimeDelta> lofi_accuracy_recording_intervals_;
390 387
391 base::WeakPtrFactory<DataReductionProxyConfig> weak_factory_; 388 base::WeakPtrFactory<DataReductionProxyConfig> weak_factory_;
392 389
393 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyConfig); 390 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyConfig);
394 }; 391 };
395 392
396 } // namespace data_reduction_proxy 393 } // namespace data_reduction_proxy
397 394
398 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CON FIG_H_ 395 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CON FIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698