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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 591 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
592 // supported server-side for searches on google.com. | 592 // supported server-side for searches on google.com. |
593 const char kEnableSdch[] = "enable-sdch"; | 593 const char kEnableSdch[] = "enable-sdch"; |
594 | 594 |
595 // Enable SPDY/3. This is a temporary testing flag. | 595 // Enable SPDY/3. This is a temporary testing flag. |
596 const char kEnableSpdy3[] = "enable-spdy3"; | 596 const char kEnableSpdy3[] = "enable-spdy3"; |
597 | 597 |
598 // Enables experimental suggestions pane in New Tab page. | 598 // Enables experimental suggestions pane in New Tab page. |
599 const char kEnableSuggestionsTabPage[] = "enable-suggestions-ntp"; | 599 const char kEnableSuggestionsTabPage[] = "enable-suggestions-ntp"; |
600 | 600 |
| 601 // Enables the new Sync Signin flow, i.e., chrome:signin for all signins. |
| 602 const char kEnableSyncSignin[] = "enable-sync-signin"; |
| 603 |
601 // Enables syncing browser sessions. | 604 // Enables syncing browser sessions. |
602 const char kEnableSyncTabs[] = "enable-sync-tabs"; | 605 const char kEnableSyncTabs[] = "enable-sync-tabs"; |
603 | 606 |
604 // Disables syncing browser sessions. Will override kEnableSyncTabs. | 607 // Disables syncing browser sessions. Will override kEnableSyncTabs. |
605 const char kDisableSyncTabs[] = "disable-sync-tabs"; | 608 const char kDisableSyncTabs[] = "disable-sync-tabs"; |
606 | 609 |
607 // Enables syncing browser sessions for other synced clients. | 610 // Enables syncing browser sessions for other synced clients. |
608 const char kEnableSyncTabsForOtherClients[] = | 611 const char kEnableSyncTabsForOtherClients[] = |
609 "enable-sync-tabs-for-other-clients"; | 612 "enable-sync-tabs-for-other-clients"; |
610 | 613 |
(...skipping 13 matching lines...) Expand all Loading... |
624 const char kEnableWebsiteSettings[] = "enable-website-settings"; | 627 const char kEnableWebsiteSettings[] = "enable-website-settings"; |
625 | 628 |
626 // Uses WebSocket over SPDY. | 629 // Uses WebSocket over SPDY. |
627 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; | 630 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; |
628 | 631 |
629 // Enables the web store link experiment. | 632 // Enables the web store link experiment. |
630 const char kEnableWebStoreLink[] = "enable-webstore-link"; | 633 const char kEnableWebStoreLink[] = "enable-webstore-link"; |
631 | 634 |
632 // Enables experimental features for Spellchecker. Right now, the first | 635 // Enables experimental features for Spellchecker. Right now, the first |
633 // experimental feature is auto spell correct, which corrects words which are | 636 // experimental feature is auto spell correct, which corrects words which are |
634 // misppelled by typing the word with two consecutive letters swapped. The | 637 // misspelled by typing the word with two consecutive letters swapped. The |
635 // features that will be added next are: | 638 // features that will be added next are: |
636 // | 639 // |
637 // 1 - Allow multiple spellcheckers to work simultaneously. | 640 // 1 - Allow multiple spellcheckers to work simultaneously. |
638 // 2 - Allow automatic detection of spell check language. | 641 // 2 - Allow automatic detection of spell check language. |
639 // TODO(sidchat): Implement the above fetaures to work under this flag. | 642 // TODO(sidchat): Implement the above features to work under this flag. |
640 const char kExperimentalSpellcheckerFeatures[] = | 643 const char kExperimentalSpellcheckerFeatures[] = |
641 "experimental-spellchecker-features"; | 644 "experimental-spellchecker-features"; |
642 | 645 |
643 // Explicitly allows additional ports using a comma-separated list of port | 646 // Explicitly allows additional ports using a comma-separated list of port |
644 // numbers. | 647 // numbers. |
645 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 648 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
646 | 649 |
647 // Marks a renderer as extension process. | 650 // Marks a renderer as extension process. |
648 const char kExtensionProcess[] = "extension-process"; | 651 const char kExtensionProcess[] = "extension-process"; |
649 | 652 |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1410 | 1413 |
1411 // ----------------------------------------------------------------------------- | 1414 // ----------------------------------------------------------------------------- |
1412 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1415 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1413 // | 1416 // |
1414 // You were going to just dump your switches here, weren't you? Instead, please | 1417 // You were going to just dump your switches here, weren't you? Instead, please |
1415 // put them in alphabetical order above, or in order inside the appropriate | 1418 // put them in alphabetical order above, or in order inside the appropriate |
1416 // ifdef at the bottom. The order should match the header. | 1419 // ifdef at the bottom. The order should match the header. |
1417 // ----------------------------------------------------------------------------- | 1420 // ----------------------------------------------------------------------------- |
1418 | 1421 |
1419 } // namespace switches | 1422 } // namespace switches |
OLD | NEW |