| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1a44697ae1ece6caf4db5cb11ff970af0c1b87be
|
| --- /dev/null
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h"
|
| +
|
| +namespace data_reduction_proxy {
|
| +
|
| +const void* const kDataReductionProxyUserDataKey =
|
| + &kDataReductionProxyUserDataKey;
|
| +
|
| +DataReductionProxyData::DataReductionProxyData(bool used_data_reduction_proxy)
|
| + : used_data_reduction_proxy_(used_data_reduction_proxy) {}
|
| +
|
| +bool DataReductionProxyData::get_used_data_reduction_proxy() {
|
| + return used_data_reduction_proxy_;
|
| +}
|
| +} // namespace data_reduction_proxy
|
|
|