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 "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
| (...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 789 | 789 |
| 790 // Simulates an update being available. | 790 // Simulates an update being available. |
| 791 const char kSimulateUpgrade[] = "simulate-upgrade"; | 791 const char kSimulateUpgrade[] = "simulate-upgrade"; |
| 792 | 792 |
| 793 // Causes SSL key material to be logged to the specified file for debugging | 793 // Causes SSL key material to be logged to the specified file for debugging |
| 794 // purposes. See | 794 // purposes. See |
| 795 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format | 795 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format |
| 796 // for the format. | 796 // for the format. |
| 797 const char kSSLKeyLogFile[] = "ssl-key-log-file"; | 797 const char kSSLKeyLogFile[] = "ssl-key-log-file"; |
| 798 | 798 |
| 799 const char kStaggeredBackgroundTabOpen[] = "staggered-background-tab-open"; | |
|
Charlie Reis
2017/06/10 00:53:37
Please document what this does.
nasko
2017/06/12 23:22:02
Also, should it be a command line flag or a base::
Zhen Wang
2017/06/13 23:33:21
Ah, right. I changed it to base::Feature now.
| |
| 800 | |
| 799 // Starts the browser maximized, regardless of any previous settings. | 801 // Starts the browser maximized, regardless of any previous settings. |
| 800 const char kStartMaximized[] = "start-maximized"; | 802 const char kStartMaximized[] = "start-maximized"; |
| 801 | 803 |
| 802 // Starts the stack sampling profiler in the child process. | 804 // Starts the stack sampling profiler in the child process. |
| 803 const char kStartStackProfiler[] = "start-stack-profiler"; | 805 const char kStartStackProfiler[] = "start-stack-profiler"; |
| 804 | 806 |
| 805 // Sets the supervised user ID for any loaded or newly created profile to the | 807 // Sets the supervised user ID for any loaded or newly created profile to the |
| 806 // given value. Pass an empty string to mark the profile as non-supervised. | 808 // given value. Pass an empty string to mark the profile as non-supervised. |
| 807 // Used for testing. | 809 // Used for testing. |
| 808 const char kSupervisedUserId[] = "managed-user-id"; | 810 const char kSupervisedUserId[] = "managed-user-id"; |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1192 | 1194 |
| 1193 // ----------------------------------------------------------------------------- | 1195 // ----------------------------------------------------------------------------- |
| 1194 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1196 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1195 // | 1197 // |
| 1196 // You were going to just dump your switches here, weren't you? Instead, please | 1198 // You were going to just dump your switches here, weren't you? Instead, please |
| 1197 // put them in alphabetical order above, or in order inside the appropriate | 1199 // put them in alphabetical order above, or in order inside the appropriate |
| 1198 // ifdef at the bottom. The order should match the header. | 1200 // ifdef at the bottom. The order should match the header. |
| 1199 // ----------------------------------------------------------------------------- | 1201 // ----------------------------------------------------------------------------- |
| 1200 | 1202 |
| 1201 } // namespace switches | 1203 } // namespace switches |
| OLD | NEW |