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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 660254: Disable the XSS Auditor by default for 4.1.... (Closed) Base URL: svn://chrome-svn/chrome/branches/249/src/
Patch Set: Created 10 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // loading tips and recommendations from a JSON feed. 139 // loading tips and recommendations from a JSON feed.
140 const char kDisableWebResources[] = "disable-web-resources"; 140 const char kDisableWebResources[] = "disable-web-resources";
141 141
142 // Don't enforce the same-origin policy. (Used by people testing their sites.) 142 // Don't enforce the same-origin policy. (Used by people testing their sites.)
143 const char kDisableWebSecurity[] = "disable-web-security"; 143 const char kDisableWebSecurity[] = "disable-web-security";
144 144
145 // Disable Web Sockets support. 145 // Disable Web Sockets support.
146 const char kDisableWebSockets[] = "disable-web-sockets"; 146 const char kDisableWebSockets[] = "disable-web-sockets";
147 147
148 // Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. 148 // Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS.
149 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 149 const char kEnableXSSAuditor[] = "enable-xss-auditor";
150 150
151 // Use a specific disk cache location, rather than one derived from the 151 // Use a specific disk cache location, rather than one derived from the
152 // UserDatadir. 152 // UserDatadir.
153 const char kDiskCacheDir[] = "disk-cache-dir"; 153 const char kDiskCacheDir[] = "disk-cache-dir";
154 154
155 // Forces the maximum disk space to be used by the disk cache, in bytes. 155 // Forces the maximum disk space to be used by the disk cache, in bytes.
156 const char kDiskCacheSize[] = "disk-cache-size"; 156 const char kDiskCacheSize[] = "disk-cache-size";
157 157
158 const char kDnsLogDetails[] = "dns-log-details"; 158 const char kDnsLogDetails[] = "dns-log-details";
159 159
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 708
709 // ----------------------------------------------------------------------------- 709 // -----------------------------------------------------------------------------
710 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 710 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
711 // 711 //
712 // You were going to just dump your switches here, weren't you? Instead, 712 // You were going to just dump your switches here, weren't you? Instead,
713 // please put them in alphabetical order above, or in order inside the 713 // please put them in alphabetical order above, or in order inside the
714 // appropriate ifdef at the bottom. The order should match the header. 714 // appropriate ifdef at the bottom. The order should match the header.
715 // ----------------------------------------------------------------------------- 715 // -----------------------------------------------------------------------------
716 716
717 } // namespace switches 717 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698