| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 | 485 |
| 486 // Disables syncing browser sessions. Will override kEnableSyncTabs. | 486 // Disables syncing browser sessions. Will override kEnableSyncTabs. |
| 487 const char kDisableSyncTabs[] = "disable-sync-tabs"; | 487 const char kDisableSyncTabs[] = "disable-sync-tabs"; |
| 488 | 488 |
| 489 // Disables syncing of themes. | 489 // Disables syncing of themes. |
| 490 const char kDisableSyncThemes[] = "disable-sync-themes"; | 490 const char kDisableSyncThemes[] = "disable-sync-themes"; |
| 491 | 491 |
| 492 // Disables syncing browser typed urls. | 492 // Disables syncing browser typed urls. |
| 493 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 493 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
| 494 | 494 |
| 495 // Allows disabling of translate from the command line to assist with automated | |
| 496 // browser testing (e.g. Selenium/WebDriver). Normal browser users should | |
| 497 // disable translate with the preference. | |
| 498 const char kDisableTranslate[] = "disable-translate"; | |
| 499 | |
| 500 // Disables TLS Channel ID extension. | 495 // Disables TLS Channel ID extension. |
| 501 const char kDisableTLSChannelID[] = "disable-tls-channel-id"; | 496 const char kDisableTLSChannelID[] = "disable-tls-channel-id"; |
| 502 | 497 |
| 503 // Disables some security measures when accessing user media devices like | 498 // Disables some security measures when accessing user media devices like |
| 504 // webcams and microphones, especially on non-HTTPS pages. | 499 // webcams and microphones, especially on non-HTTPS pages. |
| 505 const char kDisableUserMediaSecurity[] = "disable-user-media-security"; | 500 const char kDisableUserMediaSecurity[] = "disable-user-media-security"; |
| 506 | 501 |
| 507 // Disables the backend service for web resources. | 502 // Disables the backend service for web resources. |
| 508 const char kDisableWebResources[] = "disable-web-resources"; | 503 const char kDisableWebResources[] = "disable-web-resources"; |
| 509 | 504 |
| (...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1674 | 1669 |
| 1675 // ----------------------------------------------------------------------------- | 1670 // ----------------------------------------------------------------------------- |
| 1676 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1671 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1677 // | 1672 // |
| 1678 // You were going to just dump your switches here, weren't you? Instead, please | 1673 // You were going to just dump your switches here, weren't you? Instead, please |
| 1679 // put them in alphabetical order above, or in order inside the appropriate | 1674 // put them in alphabetical order above, or in order inside the appropriate |
| 1680 // ifdef at the bottom. The order should match the header. | 1675 // ifdef at the bottom. The order should match the header. |
| 1681 // ----------------------------------------------------------------------------- | 1676 // ----------------------------------------------------------------------------- |
| 1682 | 1677 |
| 1683 } // namespace switches | 1678 } // namespace switches |
| OLD | NEW |