Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h |
index 351f9bae836e3edab609c1170ac31e5c67ad9ae6..7357c4beb3a5fca56d4fc7f46059ba3783d6396a 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h |
@@ -34,20 +34,21 @@ struct LoadTimingInfo; |
class URLFetcher; |
class URLRequestContextGetter; |
class URLRequestStatus; |
} |
namespace data_reduction_proxy { |
class ClientConfig; |
class DataReductionProxyConfig; |
class DataReductionProxyEventCreator; |
+class DataReductionProxyIOData; |
class DataReductionProxyMutableConfigValues; |
class DataReductionProxyParams; |
class DataReductionProxyRequestOptions; |
class DataReductionProxyService; |
typedef base::Callback<void(const std::string&)> ConfigStorer; |
// Retrieves the default net::BackoffEntry::Policy for the Data Reduction Proxy |
// configuration service client. |
const net::BackoffEntry::Policy& GetBackoffPolicy(); |
@@ -88,20 +89,21 @@ class DataReductionProxyConfigServiceClient |
// The caller must ensure that all parameters remain alive for the lifetime of |
// the |DataReductionProxyConfigClient|, with the exception of |params| |
// which this instance will own. |
DataReductionProxyConfigServiceClient( |
std::unique_ptr<DataReductionProxyParams> params, |
const net::BackoffEntry::Policy& backoff_policy, |
DataReductionProxyRequestOptions* request_options, |
DataReductionProxyMutableConfigValues* config_values, |
DataReductionProxyConfig* config, |
DataReductionProxyEventCreator* event_creator, |
+ DataReductionProxyIOData* io_data, |
net::NetLog* net_log, |
ConfigStorer config_storer); |
~DataReductionProxyConfigServiceClient() override; |
// Performs initialization on the IO thread. |
void InitializeOnIOThread( |
net::URLRequestContextGetter* url_request_context_getter); |
// Sets whether the configuration should be retrieved or not. |
@@ -202,20 +204,23 @@ class DataReductionProxyConfigServiceClient |
// The caller must ensure that the |config_values_| outlives this instance. |
DataReductionProxyMutableConfigValues* config_values_; |
// The caller must ensure that the |config_| outlives this instance. |
DataReductionProxyConfig* config_; |
// The caller must ensure that the |event_creator_| outlives this instance. |
DataReductionProxyEventCreator* event_creator_; |
+ // The caller must ensure that the |io_data_| outlives this instance. |
+ DataReductionProxyIOData* io_data_; |
+ |
// The caller must ensure that the |net_log_| outlives this instance. |
net::NetLog* net_log_; |
// Used to persist a serialized Data Reduction Proxy configuration. |
ConfigStorer config_storer_; |
// Used to calculate the backoff time on request failures. |
net::BackoffEntry backoff_entry_; |
// The URL for retrieving the Data Reduction Proxy configuration. |