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