| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5357a36b3401a42edfc1fe6a3e4565fdd06678c9
|
| --- /dev/null
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h
|
| @@ -0,0 +1,28 @@
|
| +// 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.
|
| +
|
| +#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_DATA_H_
|
| +#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_DATA_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/supports_user_data.h"
|
| +
|
| +namespace data_reduction_proxy {
|
| +
|
| +extern const void* const kDataReductionProxyUserDataKey;
|
| +
|
| +class DataReductionProxyData : public base::SupportsUserData::Data {
|
| + public:
|
| + DataReductionProxyData(bool used_data_reduction_proxy);
|
| + bool get_used_data_reduction_proxy();
|
| +
|
| + private:
|
| + bool used_data_reduction_proxy_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(DataReductionProxyData);
|
| +};
|
| +
|
| +} // namespace data_reduction_proxy
|
| +
|
| +#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_DATA_H_
|
|
|