Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2496)

Unified Diff: content/public/common/data_reduction_proxy_lofi_user_data.cc

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using UserData and adressing nasko comments Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/data_reduction_proxy_lofi_user_data.cc
diff --git a/content/public/common/data_reduction_proxy_lofi_user_data.cc b/content/public/common/data_reduction_proxy_lofi_user_data.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bf71fba266bf414852185f4dfa6a3be88b10e26e
--- /dev/null
+++ b/content/public/common/data_reduction_proxy_lofi_user_data.cc
@@ -0,0 +1,19 @@
+// 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.
+
+#include "content/public/common/data_reduction_proxy_lofi_user_data.h"
+
+namespace content {
+
+DataReductionProxyLoFiUserData::DataReductionProxyLoFiUserData(
+ LoFiState lofi_state)
+ : lofi_state_(lofi_state) {}
+
+DataReductionProxyLoFiUserData::~DataReductionProxyLoFiUserData() {}
+
+// static
+const void* DataReductionProxyLoFiUserData::kUserDataKey =
+ static_cast<const void*>(&DataReductionProxyLoFiUserData::kUserDataKey);
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698