| 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 // given file. The file is overwritten if it exists. | 374 // given file. The file is overwritten if it exists. |
| 375 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; | 375 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; |
| 376 | 376 |
| 377 // Overrides the path of Easy Unlock component app. | 377 // Overrides the path of Easy Unlock component app. |
| 378 const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; | 378 const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; |
| 379 | 379 |
| 380 // Enables the display of a banner allowing the user to add a web | 380 // Enables the display of a banner allowing the user to add a web |
| 381 // app to their shelf (or platform-specific equivalent) | 381 // app to their shelf (or platform-specific equivalent) |
| 382 const char kEnableAddToShelf[] = "enable-add-to-shelf"; | 382 const char kEnableAddToShelf[] = "enable-add-to-shelf"; |
| 383 | 383 |
| 384 // If set, the app list will be enabled as if enabled from CWS. | |
| 385 const char kEnableAppList[] = "enable-app-list"; | |
| 386 | |
| 387 // Enable OS integration for Chrome app file associations. | 384 // Enable OS integration for Chrome app file associations. |
| 388 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; | 385 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; |
| 389 | 386 |
| 390 // Enables the benchmarking extensions. | 387 // Enables the benchmarking extensions. |
| 391 const char kEnableBenchmarking[] = "enable-benchmarking"; | 388 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 392 | 389 |
| 393 // Enables the multi-level undo system for bookmarks. | 390 // Enables the multi-level undo system for bookmarks. |
| 394 const char kEnableBookmarkUndo[] = "enable-bookmark-undo"; | 391 const char kEnableBookmarkUndo[] = "enable-bookmark-undo"; |
| 395 | 392 |
| 396 // Enables detection of child accounts. | 393 // Enables detection of child accounts. |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 // Specifies a comma separated list of QUIC connection options to send to | 894 // Specifies a comma separated list of QUIC connection options to send to |
| 898 // the server. | 895 // the server. |
| 899 const char kQuicConnectionOptions[] = "quic-connection-options"; | 896 const char kQuicConnectionOptions[] = "quic-connection-options"; |
| 900 | 897 |
| 901 // Specifies the maximum length for a QUIC packet. | 898 // Specifies the maximum length for a QUIC packet. |
| 902 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; | 899 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; |
| 903 | 900 |
| 904 // Specifies the version of QUIC to use. | 901 // Specifies the version of QUIC to use. |
| 905 const char kQuicVersion[] = "quic-version"; | 902 const char kQuicVersion[] = "quic-version"; |
| 906 | 903 |
| 907 // If set, the app list will forget it has been installed on startup. Note this | |
| 908 // doesn't prevent the app list from running, it just makes Chrome think the app | |
| 909 // list hasn't been enabled (as in kEnableAppList) yet. | |
| 910 const char kResetAppListInstallState[] = "reset-app-list-install-state"; | |
| 911 | |
| 912 // Indicates the last session should be restored on startup. This overrides the | 904 // Indicates the last session should be restored on startup. This overrides the |
| 913 // preferences value and is primarily intended for testing. The value of this | 905 // preferences value and is primarily intended for testing. The value of this |
| 914 // switch is the number of tabs to wait until loaded before 'load completed' is | 906 // switch is the number of tabs to wait until loaded before 'load completed' is |
| 915 // sent to the ui_test. | 907 // sent to the ui_test. |
| 916 const char kRestoreLastSession[] = "restore-last-session"; | 908 const char kRestoreLastSession[] = "restore-last-session"; |
| 917 | 909 |
| 918 // Disable saving pages as HTML-only, disable saving pages as HTML Complete | 910 // Disable saving pages as HTML-only, disable saving pages as HTML Complete |
| 919 // (with a directory of sub-resources). Enable only saving pages as MHTML. | 911 // (with a directory of sub-resources). Enable only saving pages as MHTML. |
| 920 // See http://crbug.com/120416 for how to remove this switch. | 912 // See http://crbug.com/120416 for how to remove this switch. |
| 921 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; | 913 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 | 1368 |
| 1377 // ----------------------------------------------------------------------------- | 1369 // ----------------------------------------------------------------------------- |
| 1378 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1370 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1379 // | 1371 // |
| 1380 // You were going to just dump your switches here, weren't you? Instead, please | 1372 // You were going to just dump your switches here, weren't you? Instead, please |
| 1381 // put them in alphabetical order above, or in order inside the appropriate | 1373 // put them in alphabetical order above, or in order inside the appropriate |
| 1382 // ifdef at the bottom. The order should match the header. | 1374 // ifdef at the bottom. The order should match the header. |
| 1383 // ----------------------------------------------------------------------------- | 1375 // ----------------------------------------------------------------------------- |
| 1384 | 1376 |
| 1385 } // namespace switches | 1377 } // namespace switches |
| OLD | NEW |