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 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 // Command line flag offering a "Show saved copy" option to the user if offline. | 1036 // Command line flag offering a "Show saved copy" option to the user if offline. |
1037 // The various modes are disabled, primary, or secondary. Primary/secondary | 1037 // The various modes are disabled, primary, or secondary. Primary/secondary |
1038 // refers to button placement (for experiment). | 1038 // refers to button placement (for experiment). |
1039 const char kShowSavedCopy[] = "show-saved-copy"; | 1039 const char kShowSavedCopy[] = "show-saved-copy"; |
1040 | 1040 |
1041 // Values for the kShowSavedCopy flag. | 1041 // Values for the kShowSavedCopy flag. |
1042 const char kEnableShowSavedCopyPrimary[] = "primary"; | 1042 const char kEnableShowSavedCopyPrimary[] = "primary"; |
1043 const char kEnableShowSavedCopySecondary[] = "secondary"; | 1043 const char kEnableShowSavedCopySecondary[] = "secondary"; |
1044 const char kDisableShowSavedCopy[] = "disable"; | 1044 const char kDisableShowSavedCopy[] = "disable"; |
1045 | 1045 |
1046 // Marks a renderer as the signin process. | |
1047 const char kSigninProcess[] = "signin-process"; | |
1048 | |
1049 // Does not show an infobar when an extension attaches to a page using | 1046 // Does not show an infobar when an extension attaches to a page using |
1050 // chrome.debugger page. Required to attach to extension background pages. | 1047 // chrome.debugger page. Required to attach to extension background pages. |
1051 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; | 1048 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; |
1052 | 1049 |
1053 // Causes Chrome to launch without opening any windows by default. Useful if | 1050 // Causes Chrome to launch without opening any windows by default. Useful if |
1054 // one wishes to use Chrome as an ash server. | 1051 // one wishes to use Chrome as an ash server. |
1055 const char kSilentLaunch[] = "silent-launch"; | 1052 const char kSilentLaunch[] = "silent-launch"; |
1056 | 1053 |
1057 // Simulates that elevation is needed to recover upgrade channel. | 1054 // Simulates that elevation is needed to recover upgrade channel. |
1058 const char kSimulateElevatedRecovery[] = "simulate-elevated-recovery"; | 1055 const char kSimulateElevatedRecovery[] = "simulate-elevated-recovery"; |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1388 | 1385 |
1389 // ----------------------------------------------------------------------------- | 1386 // ----------------------------------------------------------------------------- |
1390 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1387 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1391 // | 1388 // |
1392 // You were going to just dump your switches here, weren't you? Instead, please | 1389 // You were going to just dump your switches here, weren't you? Instead, please |
1393 // put them in alphabetical order above, or in order inside the appropriate | 1390 // put them in alphabetical order above, or in order inside the appropriate |
1394 // ifdef at the bottom. The order should match the header. | 1391 // ifdef at the bottom. The order should match the header. |
1395 // ----------------------------------------------------------------------------- | 1392 // ----------------------------------------------------------------------------- |
1396 | 1393 |
1397 } // namespace switches | 1394 } // namespace switches |
OLD | NEW |