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