OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |