Index: components/data_reduction_proxy/content/common/content_data_reduction_proxy_lofi_helper.h |
diff --git a/components/data_reduction_proxy/content/common/content_data_reduction_proxy_lofi_helper.h b/components/data_reduction_proxy/content/common/content_data_reduction_proxy_lofi_helper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6abec4259055cfc1c8dbbc7df4ed27f62afa9484 |
--- /dev/null |
+++ b/components/data_reduction_proxy/content/common/content_data_reduction_proxy_lofi_helper.h |
@@ -0,0 +1,33 @@ |
+// Copyright 2015 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_CONTENT_BROWSER_CONTENT_DATA_REDUCTION_PROXY_LOFI_HELPER_H_ |
+#define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_DATA_REDUCTION_PROXY_LOFI_HELPER_H_ |
+ |
+#include "base/macros.h" |
+#include "components/data_reduction_proxy/core/common/data_reduction_proxy_lofi_helper.h" |
+ |
+namespace net { |
+class URLRequest; |
+} |
+ |
+namespace data_reduction_proxy { |
+ |
+// Handles the getting and setting of the Lo-Fi UserData on a request. |
+class ContentDataReductionProxyLoFiHelper |
+ : public DataReductionProxyLoFiHelper { |
+ public: |
+ ContentDataReductionProxyLoFiHelper(); |
+ ~ContentDataReductionProxyLoFiHelper() override; |
+ |
+ LoFiState lofi_state(net::URLRequest* request) const override; |
+ void set_lofi_state(net::URLRequest* request, LoFiState lofi_state) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ContentDataReductionProxyLoFiHelper); |
+}; |
+ |
+} // namespace data_reduction_proxy |
+ |
+#endif // COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_DATA_REDUCTION_PROXY_LOFI_HELPER_H_ |