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