OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // Disable several subsystems which run network requests in the background. | 185 // Disable several subsystems which run network requests in the background. |
186 // This is for use when doing network performance testing to avoid noise | 186 // This is for use when doing network performance testing to avoid noise |
187 // in the measurements. | 187 // in the measurements. |
188 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 188 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
189 | 189 |
190 // Disables blocked content warning animation. Currently shows animation for | 190 // Disables blocked content warning animation. Currently shows animation for |
191 // blocked pop-ups only. | 191 // blocked pop-ups only. |
192 const char kDisableBlockContentAnimation[] = | 192 const char kDisableBlockContentAnimation[] = |
193 "disable-blocked-content-animation"; | 193 "disable-blocked-content-animation"; |
194 | 194 |
| 195 // This switch is used to disable the client-side phishing detection feature. |
| 196 // Note that even if client-side phishing detection is enabled, it will only |
| 197 // be active if the user has opted in to UMA stats and SafeBrowsing is enabled |
| 198 // in the preferences. |
| 199 const char kDisableClientSidePhishingDetection[] = |
| 200 "disable-client-side-phishing-detection"; |
| 201 |
195 // Disables establishing a backup TCP connection if a specified timeout is | 202 // Disables establishing a backup TCP connection if a specified timeout is |
196 // exceeded. | 203 // exceeded. |
197 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; | 204 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; |
198 | 205 |
199 // Disables the custom JumpList on Windows 7. | 206 // Disables the custom JumpList on Windows 7. |
200 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 207 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
201 | 208 |
202 // Browser flag to disable the web inspector for all renderers. | 209 // Browser flag to disable the web inspector for all renderers. |
203 const char kDisableDevTools[] = "disable-dev-tools"; | 210 const char kDisableDevTools[] = "disable-dev-tools"; |
204 | 211 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 const char kEnableAccessibility[] = "enable-accessibility"; | 402 const char kEnableAccessibility[] = "enable-accessibility"; |
396 | 403 |
397 // Enables AeroPeek for each tab. (This switch only works on Windows 7). | 404 // Enables AeroPeek for each tab. (This switch only works on Windows 7). |
398 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; | 405 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; |
399 | 406 |
400 // Enable the inclusion of non-standard ports when generating the Kerberos SPN | 407 // Enable the inclusion of non-standard ports when generating the Kerberos SPN |
401 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN | 408 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
402 // for more background. | 409 // for more background. |
403 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 410 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
404 | 411 |
405 // In the browser process this switch is used to enable or disable the | |
406 // client-side phishing detection. In the renderer this switch is only enabled | |
407 // if this switch is enabled in the browser and the user has opted in to UMA | |
408 // stats and SafeBrowsing is enabled in the preferences. | |
409 const char kEnableClientSidePhishingDetection[] = | |
410 "enable-client-side-phishing-detection"; | |
411 | |
412 // At this point, even if client-side phishing detection is enabled we will not, | 412 // At this point, even if client-side phishing detection is enabled we will not, |
413 // by default, display an interstitial if we detected a phishing site. Once | 413 // by default, display an interstitial if we detected a phishing site. Once |
414 // we are confident that the false-positive rate is as low as expected we can | 414 // we are confident that the false-positive rate is as low as expected we can |
415 // remove this flag. | 415 // remove this flag. |
416 const char kEnableClientSidePhishingInterstitial[] = | 416 const char kEnableClientSidePhishingInterstitial[] = |
417 "enable-client-side-phishing-interstitial"; | 417 "enable-client-side-phishing-interstitial"; |
418 | 418 |
419 // This flag enables UI for clearing server data. Temporarily in place | 419 // This flag enables UI for clearing server data. Temporarily in place |
420 // until there's a server endpoint deployed. | 420 // until there's a server endpoint deployed. |
421 const char kEnableClearServerData[] = "enable-clear-server-data"; | 421 const char kEnableClearServerData[] = "enable-clear-server-data"; |
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1213 | 1213 |
1214 // ----------------------------------------------------------------------------- | 1214 // ----------------------------------------------------------------------------- |
1215 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1215 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1216 // | 1216 // |
1217 // You were going to just dump your switches here, weren't you? Instead, | 1217 // You were going to just dump your switches here, weren't you? Instead, |
1218 // please put them in alphabetical order above, or in order inside the | 1218 // please put them in alphabetical order above, or in order inside the |
1219 // appropriate ifdef at the bottom. The order should match the header. | 1219 // appropriate ifdef at the bottom. The order should match the header. |
1220 // ----------------------------------------------------------------------------- | 1220 // ----------------------------------------------------------------------------- |
1221 | 1221 |
1222 } // namespace switches | 1222 } // namespace switches |
OLD | NEW |