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

Unified Diff: chrome/common/chrome_switches.cc

Issue 600008: Add option to suppress HTTP Referer header. (Closed)
Patch Set: add comment Created 10 years, 10 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: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index db0e7d3a7a5c4909e37de6db35430206efb7d231..8b8fa2026829eef8fed817d5cc6f4a510f30b25b 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -437,6 +437,9 @@ const char kNoFirstRun[] = "no-first-run";
// Pages may still be able to generate inconsistent data from plugins.
const char kNoJsRandomness[] = "no-js-randomness";
+// Don't send HTTP-Referer headers.
+const char kNoReferrers[] = "no-referrers";
+
// Don't use a proxy server, always make direct connections. Overrides any
// other proxy server flags that are passed.
const char kNoProxyServer[] = "no-proxy-server";

Powered by Google App Engine
This is Rietveld 408576698