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

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

Issue 11636031: [Fixit Dec-2012] Refactor first_run, very few things should depend on whether the First Run senti... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No first run import test on OS_CHROMEOS. Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/switch_utils.cc » ('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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 693
694 // Alternative feedback server to use when submitting user feedback 694 // Alternative feedback server to use when submitting user feedback
695 const char kFeedbackServer[] = "feedback-server"; 695 const char kFeedbackServer[] = "feedback-server";
696 696
697 // The file descriptor limit is set to the value of this switch, subject to the 697 // The file descriptor limit is set to the value of this switch, subject to the
698 // OS hard limits. Useful for testing that file descriptor exhaustion is 698 // OS hard limits. Useful for testing that file descriptor exhaustion is
699 // handled gracefully. 699 // handled gracefully.
700 const char kFileDescriptorLimit[] = "file-descriptor-limit"; 700 const char kFileDescriptorLimit[] = "file-descriptor-limit";
701 701
702 // Displays the First Run experience when the browser is started, regardless of 702 // Displays the First Run experience when the browser is started, regardless of
703 // whether or not it's actually the first run. 703 // whether or not it's actually the First Run (this overrides kNoFirstRun).
704 const char kFirstRun[] = "first-run"; 704 const char kForceFirstRun[] = "force-first-run";
705
706 // Force a profile auto-import that would occur on a first run.
707 const char kFirstRunForceImport[] = "first-run-force-import";
708 705
709 // Enables using GAIA information to populate profile name and icon. 706 // Enables using GAIA information to populate profile name and icon.
710 const char kGaiaProfileInfo[] = "gaia-profile-info"; 707 const char kGaiaProfileInfo[] = "gaia-profile-info";
711 708
712 // Specifies an alternate URL to use for retrieving the search domain for 709 // Specifies an alternate URL to use for retrieving the search domain for
713 // Google. Useful for testing. 710 // Google. Useful for testing.
714 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; 711 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url";
715 712
716 // Specifies a custom name for the GSSAPI library to load. 713 // Specifies a custom name for the GSSAPI library to load.
717 const char kGSSAPILibraryName[] = "gssapi-library-name"; 714 const char kGSSAPILibraryName[] = "gssapi-library-name";
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 874
878 // Don't record/playback events when using record & playback. 875 // Don't record/playback events when using record & playback.
879 const char kNoEvents[] = "no-events"; 876 const char kNoEvents[] = "no-events";
880 877
881 // Disables all experiments set on about:flags. Does not disable about:flags 878 // Disables all experiments set on about:flags. Does not disable about:flags
882 // itself. Useful if an experiment makes chrome crash at startup: One can start 879 // itself. Useful if an experiment makes chrome crash at startup: One can start
883 // chrome with --no-experiments, disable the problematic lab at about:flags and 880 // chrome with --no-experiments, disable the problematic lab at about:flags and
884 // then restart chrome without this switch again. 881 // then restart chrome without this switch again.
885 const char kNoExperiments[] = "no-experiments"; 882 const char kNoExperiments[] = "no-experiments";
886 883
887 // Whether or not it's actually the first run. Overrides kFirstRun in case 884 // Skip First Run tasks, whether or not it's actually the First Run. Overridden
888 // you're for some reason tempted to pass them both. 885 // by kForceFirstRun.
886 // Also drops the First Run beacon so that First Run will not occur in
887 // subsequent runs as well.
889 const char kNoFirstRun[] = "no-first-run"; 888 const char kNoFirstRun[] = "no-first-run";
890 889
891 // Support a separate switch that enables the v8 playback extension. 890 // Support a separate switch that enables the v8 playback extension.
892 // The extension causes javascript calls to Date.now() and Math.random() 891 // The extension causes javascript calls to Date.now() and Math.random()
893 // to return consistent values, such that subsequent loads of the same 892 // to return consistent values, such that subsequent loads of the same
894 // page will result in consistent js-generated data and XHR requests. 893 // page will result in consistent js-generated data and XHR requests.
895 // Pages may still be able to generate inconsistent data from plugins. 894 // Pages may still be able to generate inconsistent data from plugins.
896 const char kNoJsRandomness[] = "no-js-randomness"; 895 const char kNoJsRandomness[] = "no-js-randomness";
897 896
898 // Starts the browser outside of managed mode. 897 // Starts the browser outside of managed mode.
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1618 1617
1619 // ----------------------------------------------------------------------------- 1618 // -----------------------------------------------------------------------------
1620 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1619 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1621 // 1620 //
1622 // You were going to just dump your switches here, weren't you? Instead, please 1621 // You were going to just dump your switches here, weren't you? Instead, please
1623 // put them in alphabetical order above, or in order inside the appropriate 1622 // put them in alphabetical order above, or in order inside the appropriate
1624 // ifdef at the bottom. The order should match the header. 1623 // ifdef at the bottom. The order should match the header.
1625 // ----------------------------------------------------------------------------- 1624 // -----------------------------------------------------------------------------
1626 1625
1627 } // namespace switches 1626 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/switch_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698