Chromium Code Reviews| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "printing/features/features.h" | 10 #include "printing/features/features.h" |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 525 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; | 525 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; |
| 526 | 526 |
| 527 // If this flag is present then this command line is being delegated to an | 527 // If this flag is present then this command line is being delegated to an |
| 528 // already running chrome process via the fast path, ie: before chrome.dll is | 528 // already running chrome process via the fast path, ie: before chrome.dll is |
| 529 // loaded. It is useful to tell the difference for tracking purposes. | 529 // loaded. It is useful to tell the difference for tracking purposes. |
| 530 const char kFastStart[] = "fast-start"; | 530 const char kFastStart[] = "fast-start"; |
| 531 | 531 |
| 532 // Forces application mode. This hides certain system UI elements and forces | 532 // Forces application mode. This hides certain system UI elements and forces |
| 533 // the app to be installed if it hasn't been already. | 533 // the app to be installed if it hasn't been already. |
| 534 const char kForceAppMode[] = "force-app-mode"; | 534 const char kForceAppMode[] = "force-app-mode"; |
| 535 const char kForceAndroidAppMode[] = "android-force-app-mode"; | |
|
Luis Héctor Chávez
2016/11/12 18:03:08
Also make this alphabetical and document this flag
Sergey Poromov
2016/11/14 17:23:23
Done.
| |
| 535 | 536 |
| 536 // Displays the First Run experience when the browser is started, regardless of | 537 // Displays the First Run experience when the browser is started, regardless of |
| 537 // whether or not it's actually the First Run (this overrides kNoFirstRun). | 538 // whether or not it's actually the First Run (this overrides kNoFirstRun). |
| 538 const char kForceFirstRun[] = "force-first-run"; | 539 const char kForceFirstRun[] = "force-first-run"; |
| 539 | 540 |
| 540 // Forces Chrome to use localNTP instead of server (GWS) NTP. | 541 // Forces Chrome to use localNTP instead of server (GWS) NTP. |
| 541 const char kForceLocalNtp[] = "force-local-ntp"; | 542 const char kForceLocalNtp[] = "force-local-ntp"; |
| 542 | 543 |
| 543 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 544 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
| 544 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids | 545 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1309 | 1310 |
| 1310 // ----------------------------------------------------------------------------- | 1311 // ----------------------------------------------------------------------------- |
| 1311 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1312 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1312 // | 1313 // |
| 1313 // You were going to just dump your switches here, weren't you? Instead, please | 1314 // You were going to just dump your switches here, weren't you? Instead, please |
| 1314 // put them in alphabetical order above, or in order inside the appropriate | 1315 // put them in alphabetical order above, or in order inside the appropriate |
| 1315 // ifdef at the bottom. The order should match the header. | 1316 // ifdef at the bottom. The order should match the header. |
| 1316 // ----------------------------------------------------------------------------- | 1317 // ----------------------------------------------------------------------------- |
| 1317 | 1318 |
| 1318 } // namespace switches | 1319 } // namespace switches |
| OLD | NEW |