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

Side by Side Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_config_values.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_COMMON_DATA_REDUCTION_PROXY_CONFIG_ VALUES_H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_CONFIG_ VALUES_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_CONFIG_ VALUES_H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_CONFIG_ VALUES_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 class GURL; 10 class GURL;
11 11
12 namespace net { 12 namespace net {
13 class ProxyServer; 13 class ProxyServer;
14 } 14 }
15 15
16 namespace data_reduction_proxy { 16 namespace data_reduction_proxy {
17 17
18 struct DataReductionProxyTypeInfo;
19
20 class DataReductionProxyConfigValues { 18 class DataReductionProxyConfigValues {
21 public: 19 public:
22 virtual ~DataReductionProxyConfigValues() {} 20 virtual ~DataReductionProxyConfigValues() {}
23 21
24 // Returns true if the data reduction proxy promo may be shown. 22 // Returns true if the data reduction proxy promo may be shown.
25 // This is independent of whether the data reduction proxy is allowed. 23 // This is independent of whether the data reduction proxy is allowed.
26 // TODO(bengr): maybe tie to whether proxy is allowed. 24 // TODO(bengr): maybe tie to whether proxy is allowed.
27 virtual bool promo_allowed() const = 0; 25 virtual bool promo_allowed() const = 0;
28 26
29 // Returns true if the data reduction proxy should not actually use the 27 // Returns true if the data reduction proxy should not actually use the
(...skipping 10 matching lines...) Expand all
40 virtual const std::vector<net::ProxyServer>& proxies_for_http() const = 0; 38 virtual const std::vector<net::ProxyServer>& proxies_for_http() const = 0;
41 39
42 // Returns the URL to check to decide if the secure proxy origin should be 40 // Returns the URL to check to decide if the secure proxy origin should be
43 // used. 41 // used.
44 virtual const GURL& secure_proxy_check_url() const = 0; 42 virtual const GURL& secure_proxy_check_url() const = 0;
45 }; 43 };
46 44
47 } // namespace data_reduction_proxy 45 } // namespace data_reduction_proxy
48 46
49 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_CONF IG_VALUES_H_ 47 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_CONF IG_VALUES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698