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

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

Issue 2902963002: Add a new LaunchMode value for launches from a user experiment. (Closed)
Patch Set: with histogram move Created 3 years, 7 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
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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 // to the PAC scripts. 840 // to the PAC scripts.
841 const char kUnsafePacUrl[] = "unsafe-pac-url"; 841 const char kUnsafePacUrl[] = "unsafe-pac-url";
842 842
843 // A string used to override the default user agent with a custom one. 843 // A string used to override the default user agent with a custom one.
844 const char kUserAgent[] = "user-agent"; 844 const char kUserAgent[] = "user-agent";
845 845
846 // Specifies the user data directory, which is where the browser will look for 846 // Specifies the user data directory, which is where the browser will look for
847 // all of its state. 847 // all of its state.
848 const char kUserDataDir[] = "user-data-dir"; 848 const char kUserDataDir[] = "user-data-dir";
849 849
850 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
851 // be used only by the upgrade process.
852 const char kUserExperimentUx[] = "user-experiment-ux";
Peter Kasting 2017/05/26 00:57:41 I'm not terribly keen on a switch called "user exp
grt (UTC plus 2) 2017/05/29 07:08:42 We may as well re-use the existing --try-chrome-ag
853
850 // Uses experimental simple cache backend if possible. 854 // Uses experimental simple cache backend if possible.
851 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend"; 855 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend";
852 856
853 // Examines a .crx for validity and prints the result. 857 // Examines a .crx for validity and prints the result.
854 const char kValidateCrx[] = "validate-crx"; 858 const char kValidateCrx[] = "validate-crx";
855 859
856 // Prints version information and quits. 860 // Prints version information and quits.
857 const char kVersion[] = "version"; 861 const char kVersion[] = "version";
858 862
859 // Specify the initial window position: --window-position=x,y 863 // Specify the initial window position: --window-position=x,y
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 1194
1191 // ----------------------------------------------------------------------------- 1195 // -----------------------------------------------------------------------------
1192 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1196 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1193 // 1197 //
1194 // You were going to just dump your switches here, weren't you? Instead, please 1198 // You were going to just dump your switches here, weren't you? Instead, please
1195 // put them in alphabetical order above, or in order inside the appropriate 1199 // put them in alphabetical order above, or in order inside the appropriate
1196 // ifdef at the bottom. The order should match the header. 1200 // ifdef at the bottom. The order should match the header.
1197 // ----------------------------------------------------------------------------- 1201 // -----------------------------------------------------------------------------
1198 1202
1199 } // namespace switches 1203 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698