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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 968 const char kServiceProcess[] = "service"; | 968 const char kServiceProcess[] = "service"; |
| 969 | 969 |
| 970 // If true the app list will be shown. | 970 // If true the app list will be shown. |
| 971 const char kShowAppList[] = "show-app-list"; | 971 const char kShowAppList[] = "show-app-list"; |
| 972 | 972 |
| 973 // Command line flag offering a "Show saved copy" option to the user if offline. | 973 // Command line flag offering a "Show saved copy" option to the user if offline. |
| 974 // The various modes are disabled, primary, or secondary. Primary/secondary | 974 // The various modes are disabled, primary, or secondary. Primary/secondary |
| 975 // refers to button placement (for experiment). | 975 // refers to button placement (for experiment). |
| 976 const char kShowSavedCopy[] = "show-saved-copy"; | 976 const char kShowSavedCopy[] = "show-saved-copy"; |
| 977 | 977 |
| 978 // Command line flag exporting SSL key to the file path provided. | |
| 979 const char kSSLKeyLogFile[] = "sslkey-log-file"; | |
|
davidben
2015/10/13 16:07:39
Nit: I'd probably call this ssl-key-log-file
Zhongyi Shi
2015/10/15 00:26:52
Done.
| |
| 980 | |
| 978 // Values for the kShowSavedCopy flag. | 981 // Values for the kShowSavedCopy flag. |
| 979 const char kEnableShowSavedCopyPrimary[] = "primary"; | 982 const char kEnableShowSavedCopyPrimary[] = "primary"; |
| 980 const char kEnableShowSavedCopySecondary[] = "secondary"; | 983 const char kEnableShowSavedCopySecondary[] = "secondary"; |
| 981 const char kDisableShowSavedCopy[] = "disable"; | 984 const char kDisableShowSavedCopy[] = "disable"; |
| 982 | 985 |
| 983 // Does not show an infobar when an extension attaches to a page using | 986 // Does not show an infobar when an extension attaches to a page using |
| 984 // chrome.debugger page. Required to attach to extension background pages. | 987 // chrome.debugger page. Required to attach to extension background pages. |
| 985 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; | 988 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; |
| 986 | 989 |
| 987 // Causes Chrome to launch without opening any windows by default. Useful if | 990 // Causes Chrome to launch without opening any windows by default. Useful if |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1414 | 1417 |
| 1415 // ----------------------------------------------------------------------------- | 1418 // ----------------------------------------------------------------------------- |
| 1416 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1419 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1417 // | 1420 // |
| 1418 // You were going to just dump your switches here, weren't you? Instead, please | 1421 // You were going to just dump your switches here, weren't you? Instead, please |
| 1419 // put them in alphabetical order above, or in order inside the appropriate | 1422 // put them in alphabetical order above, or in order inside the appropriate |
| 1420 // ifdef at the bottom. The order should match the header. | 1423 // ifdef at the bottom. The order should match the header. |
| 1421 // ----------------------------------------------------------------------------- | 1424 // ----------------------------------------------------------------------------- |
| 1422 | 1425 |
| 1423 } // namespace switches | 1426 } // namespace switches |
| OLD | NEW |