OLD | NEW |
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
_SERVICE_CLIENT_H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG
_SERVICE_CLIENT_H_ |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG
_SERVICE_CLIENT_H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG
_SERVICE_CLIENT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 namespace data_reduction_proxy { | 40 namespace data_reduction_proxy { |
41 | 41 |
42 class ClientConfig; | 42 class ClientConfig; |
43 class DataReductionProxyConfig; | 43 class DataReductionProxyConfig; |
44 class DataReductionProxyEventCreator; | 44 class DataReductionProxyEventCreator; |
45 class DataReductionProxyIOData; | 45 class DataReductionProxyIOData; |
46 class DataReductionProxyMutableConfigValues; | 46 class DataReductionProxyMutableConfigValues; |
47 class DataReductionProxyParams; | 47 class DataReductionProxyParams; |
48 class DataReductionProxyRequestOptions; | 48 class DataReductionProxyRequestOptions; |
49 class DataReductionProxyService; | |
50 | 49 |
51 typedef base::Callback<void(const std::string&)> ConfigStorer; | 50 typedef base::Callback<void(const std::string&)> ConfigStorer; |
52 | 51 |
53 // Retrieves the default net::BackoffEntry::Policy for the Data Reduction Proxy | 52 // Retrieves the default net::BackoffEntry::Policy for the Data Reduction Proxy |
54 // configuration service client. | 53 // configuration service client. |
55 const net::BackoffEntry::Policy& GetBackoffPolicy(); | 54 const net::BackoffEntry::Policy& GetBackoffPolicy(); |
56 | 55 |
57 // Retrieves the Data Reduction Proxy configuration from a remote service. This | 56 // Retrieves the Data Reduction Proxy configuration from a remote service. This |
58 // object lives on the IO thread. | 57 // object lives on the IO thread. |
59 // TODO(jeremyim): Rename the class to DataReductionProxyConfigGetter(?). | 58 // TODO(jeremyim): Rename the class to DataReductionProxyConfigGetter(?). |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 base::TimeTicks last_ip_address_change_; | 277 base::TimeTicks last_ip_address_change_; |
279 | 278 |
280 // Enforce usage on the IO thread. | 279 // Enforce usage on the IO thread. |
281 base::ThreadChecker thread_checker_; | 280 base::ThreadChecker thread_checker_; |
282 | 281 |
283 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyConfigServiceClient); | 282 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyConfigServiceClient); |
284 }; | 283 }; |
285 | 284 |
286 } // namespace data_reduction_proxy | 285 } // namespace data_reduction_proxy |
287 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CON
FIG_SERVICE_CLIENT_H_ | 286 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CON
FIG_SERVICE_CLIENT_H_ |
OLD | NEW |