| 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 "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
| (...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 | 776 |
| 777 // Simulates that current version is outdated. | 777 // Simulates that current version is outdated. |
| 778 const char kSimulateOutdated[] = "simulate-outdated"; | 778 const char kSimulateOutdated[] = "simulate-outdated"; |
| 779 | 779 |
| 780 // Simulates that current version is outdated and auto-update is off. | 780 // Simulates that current version is outdated and auto-update is off. |
| 781 const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au"; | 781 const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au"; |
| 782 | 782 |
| 783 // Simulates an update being available. | 783 // Simulates an update being available. |
| 784 const char kSimulateUpgrade[] = "simulate-upgrade"; | 784 const char kSimulateUpgrade[] = "simulate-upgrade"; |
| 785 | 785 |
| 786 // Speculative resource prefetching. | |
| 787 const char kSpeculativeResourcePrefetching[] = | |
| 788 "speculative-resource-prefetching"; | |
| 789 | |
| 790 // Speculative resource prefetching is disabled. | |
| 791 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; | |
| 792 | |
| 793 // Speculative resource prefetching is enabled. | |
| 794 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; | |
| 795 | |
| 796 // Speculative resource prefetching is enabled for external requests. | |
| 797 const char kSpeculativeResourcePrefetchingEnabledExternal[] = | |
| 798 "enabled-external-only"; | |
| 799 | |
| 800 // Speculative resource prefetching will only learn about resources that need to | |
| 801 // be prefetched but will not prefetch them. | |
| 802 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; | |
| 803 | |
| 804 // Causes SSL key material to be logged to the specified file for debugging | 786 // Causes SSL key material to be logged to the specified file for debugging |
| 805 // purposes. See | 787 // purposes. See |
| 806 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format | 788 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format |
| 807 // for the format. | 789 // for the format. |
| 808 const char kSSLKeyLogFile[] = "ssl-key-log-file"; | 790 const char kSSLKeyLogFile[] = "ssl-key-log-file"; |
| 809 | 791 |
| 810 // Starts the browser maximized, regardless of any previous settings. | 792 // Starts the browser maximized, regardless of any previous settings. |
| 811 const char kStartMaximized[] = "start-maximized"; | 793 const char kStartMaximized[] = "start-maximized"; |
| 812 | 794 |
| 813 // Starts the stack sampling profiler in the child process. | 795 // Starts the stack sampling profiler in the child process. |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1220 | 1202 |
| 1221 // ----------------------------------------------------------------------------- | 1203 // ----------------------------------------------------------------------------- |
| 1222 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1204 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1223 // | 1205 // |
| 1224 // You were going to just dump your switches here, weren't you? Instead, please | 1206 // You were going to just dump your switches here, weren't you? Instead, please |
| 1225 // put them in alphabetical order above, or in order inside the appropriate | 1207 // put them in alphabetical order above, or in order inside the appropriate |
| 1226 // ifdef at the bottom. The order should match the header. | 1208 // ifdef at the bottom. The order should match the header. |
| 1227 // ----------------------------------------------------------------------------- | 1209 // ----------------------------------------------------------------------------- |
| 1228 | 1210 |
| 1229 } // namespace switches | 1211 } // namespace switches |
| OLD | NEW |