| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h
|
| index 141a09b6fb89bd36f55e5f3f3fedd2505fade0f5..94fe2b0a697598e0fc1398e7375dffb89ead343b 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h
|
| @@ -18,6 +18,7 @@
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h"
|
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate.h"
|
| +#include "components/data_reduction_proxy/core/common/data_reduction_proxy_lofi_helper.h"
|
|
|
| namespace base {
|
| class Value;
|
| @@ -162,6 +163,15 @@ class DataReductionProxyIOData : public DataReductionProxyEventStorageDelegate {
|
| debug_ui_service_= ui_service.Pass();
|
| }
|
|
|
| + DataReductionProxyLoFiHelper* lofi_helper() const {
|
| + return lofi_helper_.get();
|
| + }
|
| +
|
| + void set_lofi_helper(
|
| + scoped_ptr<DataReductionProxyLoFiHelper> lofi_helper) const {
|
| + lofi_helper_ = lofi_helper.Pass();
|
| + }
|
| +
|
| private:
|
| friend class TestDataReductionProxyIOData;
|
| FRIEND_TEST_ALL_PREFIXES(DataReductionProxyIODataTest, TestConstruction);
|
| @@ -199,6 +209,9 @@ class DataReductionProxyIOData : public DataReductionProxyEventStorageDelegate {
|
| // interstitials.
|
| mutable scoped_ptr<DataReductionProxyDebugUIService> debug_ui_service_;
|
|
|
| + // Handles the getting and setting of the Lo-Fi UserData on a request.
|
| + mutable scoped_ptr<DataReductionProxyLoFiHelper> lofi_helper_;
|
| +
|
| // Creates Data Reduction Proxy-related events for logging.
|
| scoped_ptr<DataReductionProxyEventCreator> event_creator_;
|
|
|
|
|