summaryrefslogtreecommitdiffstats
path: root/base/base_switches.cc
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-15 09:01:33 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-15 09:01:33 +0000
commit4ed2755fa534075e250bb8ed5f909b753fa777fc (patch)
treee502cf862870f744c8eaba40db2b5306873680f5 /base/base_switches.cc
parent554c6eff8a5fabf281ca314293fbec2f23f8311d (diff)
downloadchromium_src-4ed2755fa534075e250bb8ed5f909b753fa777fc.zip
chromium_src-4ed2755fa534075e250bb8ed5f909b753fa777fc.tar.gz
chromium_src-4ed2755fa534075e250bb8ed5f909b753fa777fc.tar.bz2
Command line switch for the ultra security concious: --force-https!
If you set this switch, the browser refuses to talk HTTP and refuses to permit certificate errors. For best results, use with a dedicated profile. R=jar Review URL: http://codereview.chromium.org/14421 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_switches.cc')
-rw-r--r--base/base_switches.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc
index d05d8f4..c9d65cb0f 100644
--- a/base/base_switches.cc
+++ b/base/base_switches.cc
@@ -30,5 +30,8 @@ const wchar_t kProcessType[] = L"type";
// Enable DCHECKs in release mode.
const wchar_t kEnableDCHECK[] = L"enable-dcheck";
+// Refuse to make HTTP connections and refuse to accept certificate errors.
+const wchar_t kForceHTTPS[] = L"force-https";
+
} // namespace switches