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

Unified Diff: components/data_reduction_proxy/common/data_reduction_proxy_headers.cc

Issue 338483002: Chrome Participated Tamper Detect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: components/data_reduction_proxy/common/data_reduction_proxy_headers.cc
diff --git a/components/data_reduction_proxy/common/data_reduction_proxy_headers.cc b/components/data_reduction_proxy/common/data_reduction_proxy_headers.cc
index 773d14c7042f1443b5c757196c84bec974f702cd..2a75418e97d2484783617307f0c8133817297ecb 100644
--- a/components/data_reduction_proxy/common/data_reduction_proxy_headers.cc
+++ b/components/data_reduction_proxy/common/data_reduction_proxy_headers.cc
@@ -20,6 +20,15 @@ using net::ProxyService;
namespace data_reduction_proxy {
+namespace fingerprint_actions {
+
+const char kTamperDetectFingerprintChromeProxy[] = "fcp";
+const char kTamperDetectFingerprintVia[] = "fvia";
+const char kTamperDetectFingerprintOtherHeaders[] = "foh";
+const char kTamperDetectFingerprintContentLength[] = "fcl";
+
+} // namespace fingerprint_actions
+
bool GetDataReductionProxyBypassDuration(
const net::HttpResponseHeaders* headers,
const std::string& action_prefix,

Powered by Google App Engine
This is Rietveld 408576698