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

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

Issue 1411453004: Componentize internal class FlagsState in flags_ui component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@feature_entry
Patch Set: Rebase Created 5 years 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/crash_keys.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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 const char kExtensionsNotWebstore[] = "extensions-not-webstore"; 565 const char kExtensionsNotWebstore[] = "extensions-not-webstore";
566 566
567 // Frequency in seconds for Extensions auto-update. 567 // Frequency in seconds for Extensions auto-update.
568 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; 568 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
569 569
570 // If this flag is present then this command line is being delegated to an 570 // If this flag is present then this command line is being delegated to an
571 // already running chrome process via the fast path, ie: before chrome.dll is 571 // already running chrome process via the fast path, ie: before chrome.dll is
572 // loaded. It is useful to tell the difference for tracking purposes. 572 // loaded. It is useful to tell the difference for tracking purposes.
573 const char kFastStart[] = "fast-start"; 573 const char kFastStart[] = "fast-start";
574 574
575 // These two flags are added around the switches about:flags adds to the
576 // command line. This is useful to see which switches were added by about:flags
577 // on about:version. They don't have any effect.
578 const char kFlagSwitchesBegin[] = "flag-switches-begin";
579 const char kFlagSwitchesEnd[] = "flag-switches-end";
580
581 // Forces application mode. This hides certain system UI elements and forces 575 // Forces application mode. This hides certain system UI elements and forces
582 // the app to be installed if it hasn't been already. 576 // the app to be installed if it hasn't been already.
583 const char kForceAppMode[] = "force-app-mode"; 577 const char kForceAppMode[] = "force-app-mode";
584 578
585 // This option can be used to force parameters of field trials when testing 579 // This option can be used to force parameters of field trials when testing
586 // changes locally. The argument is a list of key/value pairs prefixed by 580 // changes locally. The argument is a list of key/value pairs prefixed by
587 // Trial/Group pair. The following shows setting parameters to 2 experiments 581 // Trial/Group pair. The following shows setting parameters to 2 experiments
588 // where in the first, it forces "id" to be "foo" for the "Enabled" group of 582 // where in the first, it forces "id" to be "foo" for the "Enabled" group of
589 // the "EnhancedBookmarks" trial: 583 // the "EnhancedBookmarks" trial:
590 // "EnhancedBookmarks.Enabled:id/foo,Experiment2.Group1:key1/value1" 584 // "EnhancedBookmarks.Enabled:id/foo,Experiment2.Group1:key1/value1"
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 1367
1374 // ----------------------------------------------------------------------------- 1368 // -----------------------------------------------------------------------------
1375 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1369 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1376 // 1370 //
1377 // You were going to just dump your switches here, weren't you? Instead, please 1371 // You were going to just dump your switches here, weren't you? Instead, please
1378 // put them in alphabetical order above, or in order inside the appropriate 1372 // put them in alphabetical order above, or in order inside the appropriate
1379 // ifdef at the bottom. The order should match the header. 1373 // ifdef at the bottom. The order should match the header.
1380 // ----------------------------------------------------------------------------- 1374 // -----------------------------------------------------------------------------
1381 1375
1382 } // namespace switches 1376 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698