Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 235813002: Add profile-switches to signin-internals; move switches to component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/profile_management_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 "enable-extension-activity-logging"; 507 "enable-extension-activity-logging";
508 508
509 const char kEnableExtensionActivityLogTesting[] = 509 const char kEnableExtensionActivityLogTesting[] =
510 "enable-extension-activity-log-testing"; 510 "enable-extension-activity-log-testing";
511 511
512 // Enable the fast unload controller, which speeds up tab/window close by 512 // Enable the fast unload controller, which speeds up tab/window close by
513 // running a tab's onunload js handler independently of the GUI - 513 // running a tab's onunload js handler independently of the GUI -
514 // crbug.com/142458 . 514 // crbug.com/142458 .
515 const char kEnableFastUnload[] = "enable-fast-unload"; 515 const char kEnableFastUnload[] = "enable-fast-unload";
516 516
517 // Enables the pure web-based flow for sign in on first run/NTP/wrench menu/
518 // settings page.
519 const char kEnableWebBasedSignin[] = "enable-web-based-signin";
520
521 // Enables IPv6 support, even if probes suggest that it may not be fully 517 // Enables IPv6 support, even if probes suggest that it may not be fully
522 // supported. Some probes may require internet connections, and this flag will 518 // supported. Some probes may require internet connections, and this flag will
523 // allow support independent of application testing. This flag overrides 519 // allow support independent of application testing. This flag overrides
524 // "disable-ipv6" which appears elswhere in this file. 520 // "disable-ipv6" which appears elswhere in this file.
525 const char kEnableIPv6[] = "enable-ipv6"; 521 const char kEnableIPv6[] = "enable-ipv6";
526 522
527 // Enables experimentation with launching ephemeral apps via hyperlinks. 523 // Enables experimentation with launching ephemeral apps via hyperlinks.
528 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; 524 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps";
529 525
530 // Enables metrics recording and reporting in the browser startup sequence, as 526 // Enables metrics recording and reporting in the browser startup sequence, as
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 // is to be used for testing only. Possible values are "stable", "beta", "dev" 706 // is to be used for testing only. Possible values are "stable", "beta", "dev"
711 // and "canary". Note that this only applies if the browser's reported channel 707 // and "canary". Note that this only applies if the browser's reported channel
712 // is UNKNOWN. 708 // is UNKNOWN.
713 const char kFakeVariationsChannel[] = "fake-variations-channel"; 709 const char kFakeVariationsChannel[] = "fake-variations-channel";
714 710
715 // If this flag is present then this command line is being delegated to an 711 // If this flag is present then this command line is being delegated to an
716 // already running chrome process via the fast path, ie: before chrome.dll is 712 // already running chrome process via the fast path, ie: before chrome.dll is
717 // loaded. It is useful to tell the difference for tracking purposes. 713 // loaded. It is useful to tell the difference for tracking purposes.
718 const char kFastStart[] = "fast-start"; 714 const char kFastStart[] = "fast-start";
719 715
720 // Allows displaying the list of existing profiles in the avatar bubble for
721 // fast switching between profiles.
722 const char kFastUserSwitching[] = "fast-user-switching";
723
724 // These two flags are added around the switches about:flags adds to the 716 // These two flags are added around the switches about:flags adds to the
725 // command line. This is useful to see which switches were added by about:flags 717 // command line. This is useful to see which switches were added by about:flags
726 // on about:version. They don't have any effect. 718 // on about:version. They don't have any effect.
727 const char kFlagSwitchesBegin[] = "flag-switches-begin"; 719 const char kFlagSwitchesBegin[] = "flag-switches-begin";
728 const char kFlagSwitchesEnd[] = "flag-switches-end"; 720 const char kFlagSwitchesEnd[] = "flag-switches-end";
729 721
730 // Alternative feedback server to use when submitting user feedback 722 // Alternative feedback server to use when submitting user feedback
731 const char kFeedbackServer[] = "feedback-server"; 723 const char kFeedbackServer[] = "feedback-server";
732 724
733 // The file descriptor limit is set to the value of this switch, subject to the 725 // The file descriptor limit is set to the value of this switch, subject to the
(...skipping 10 matching lines...) Expand all
744 const char kForceFirstRun[] = "force-first-run"; 736 const char kForceFirstRun[] = "force-first-run";
745 737
746 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data 738 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data
747 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids 739 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids
748 // prefixed with the character "t" will be treated as Trigger Variation Ids. 740 // prefixed with the character "t" will be treated as Trigger Variation Ids.
749 const char kForceVariationIds[] = "force-variation-ids"; 741 const char kForceVariationIds[] = "force-variation-ids";
750 742
751 // Specifies an alternate URL to use for speaking to Google. Useful for testing. 743 // Specifies an alternate URL to use for speaking to Google. Useful for testing.
752 const char kGoogleBaseURL[] = "google-base-url"; 744 const char kGoogleBaseURL[] = "google-base-url";
753 745
754 // Enables using GAIA information to populate profile name and icon.
755 const char kGoogleProfileInfo[] = "google-profile-info";
756
757 // Specifies a custom name for the GSSAPI library to load. 746 // Specifies a custom name for the GSSAPI library to load.
758 const char kGSSAPILibraryName[] = "gssapi-library-name"; 747 const char kGSSAPILibraryName[] = "gssapi-library-name";
759 748
760 // These flags show the man page on Linux. They are equivalent to each 749 // These flags show the man page on Linux. They are equivalent to each
761 // other. 750 // other.
762 const char kHelp[] = "help"; 751 const char kHelp[] = "help";
763 const char kHelpShort[] = "h"; 752 const char kHelpShort[] = "h";
764 753
765 // Makes Windows happy by allowing it to show "Enable access to this program" 754 // Makes Windows happy by allowing it to show "Enable access to this program"
766 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only 755 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 // performance tests. 874 // performance tests.
886 const char kMetricsRecordingOnly[] = "metrics-recording-only"; 875 const char kMetricsRecordingOnly[] = "metrics-recording-only";
887 876
888 // Enables multiprofile Chrome. 877 // Enables multiprofile Chrome.
889 const char kMultiProfiles[] = "multi-profiles"; 878 const char kMultiProfiles[] = "multi-profiles";
890 879
891 // Sets the base logging level for the net log. Log 0 logs the most data. 880 // Sets the base logging level for the net log. Log 0 logs the most data.
892 // Intended primarily for use with --log-net-log. 881 // Intended primarily for use with --log-net-log.
893 const char kNetLogLevel[] = "net-log-level"; 882 const char kNetLogLevel[] = "net-log-level";
894 883
895 // Use new avatar menu. When combined with new-profile-management, it simply
896 // shows the new profile management avatar menu. Otherwise it shows a redesigned
897 // avatar menu with the same functionality as the old one, plus a tutorial card
898 // at the top prompting the user to try out the new profile management UI.
899 const char kNewAvatarMenu[] = "new-avatar-menu";
900
901 // Use new profile management system, including profile sign-out and new
902 // choosers.
903 const char kNewProfileManagement[] = "new-profile-management";
904
905 // Disables the default browser check. Useful for UI/browser tests where we 884 // Disables the default browser check. Useful for UI/browser tests where we
906 // want to avoid having the default browser info-bar displayed. 885 // want to avoid having the default browser info-bar displayed.
907 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; 886 const char kNoDefaultBrowserCheck[] = "no-default-browser-check";
908 887
909 // By default, an https page can load images, fonts or frames from an http 888 // By default, an https page can load images, fonts or frames from an http
910 // page. This switch overrides this to block this lesser mixed-content problem. 889 // page. This switch overrides this to block this lesser mixed-content problem.
911 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; 890 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content";
912 891
913 // Don't record/playback events when using record & playback. 892 // Don't record/playback events when using record & playback.
914 const char kNoEvents[] = "no-events"; 893 const char kNoEvents[] = "no-events";
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 1461
1483 // ----------------------------------------------------------------------------- 1462 // -----------------------------------------------------------------------------
1484 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1463 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1485 // 1464 //
1486 // You were going to just dump your switches here, weren't you? Instead, please 1465 // You were going to just dump your switches here, weren't you? Instead, please
1487 // put them in alphabetical order above, or in order inside the appropriate 1466 // put them in alphabetical order above, or in order inside the appropriate
1488 // ifdef at the bottom. The order should match the header. 1467 // ifdef at the bottom. The order should match the header.
1489 // ----------------------------------------------------------------------------- 1468 // -----------------------------------------------------------------------------
1490 1469
1491 } // namespace switches 1470 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/profile_management_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698