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 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 | 1121 |
1122 // Chrome supports a playback and record mode. Record mode saves *everything* | 1122 // Chrome supports a playback and record mode. Record mode saves *everything* |
1123 // to the cache. Playback mode reads data exclusively from the cache. This | 1123 // to the cache. Playback mode reads data exclusively from the cache. This |
1124 // allows us to record a session into the cache and then replay it at will. | 1124 // allows us to record a session into the cache and then replay it at will. |
1125 // See also kPlaybackMode. | 1125 // See also kPlaybackMode. |
1126 const char kRecordMode[] = "record-mode"; | 1126 const char kRecordMode[] = "record-mode"; |
1127 | 1127 |
1128 // Uses custom front-end URL for the remote debugging. | 1128 // Uses custom front-end URL for the remote debugging. |
1129 const char kRemoteDebuggingFrontend[] = "remote-debugging-frontend"; | 1129 const char kRemoteDebuggingFrontend[] = "remote-debugging-frontend"; |
1130 | 1130 |
| 1131 // Does not show an infobar when an extension attaches to a page using |
| 1132 // chrome.debugger page. Required to attach to extension background pages. |
| 1133 const char kExtensionDebuggingSilent[] = "extension-debugging-silent"; |
| 1134 |
1131 // Enables print preview in the renderer. This flag is generated internally by | 1135 // Enables print preview in the renderer. This flag is generated internally by |
1132 // Chrome and does nothing when directly passed to the browser. | 1136 // Chrome and does nothing when directly passed to the browser. |
1133 const char kRendererPrintPreview[] = "renderer-print-preview"; | 1137 const char kRendererPrintPreview[] = "renderer-print-preview"; |
1134 | 1138 |
1135 // Forces a reset of the local passphrase of the managed user account, and | 1139 // Forces a reset of the local passphrase of the managed user account, and |
1136 // the managed user settings dialog is shown where a new passphrase can be set. | 1140 // the managed user settings dialog is shown where a new passphrase can be set. |
1137 const char kResetLocalPassphrase[] = "reset-local-passphrase"; | 1141 const char kResetLocalPassphrase[] = "reset-local-passphrase"; |
1138 | 1142 |
1139 // Forces a reset of the one-time-randomized FieldTrials on this client, also | 1143 // Forces a reset of the one-time-randomized FieldTrials on this client, also |
1140 // known as the Chrome Variations state. | 1144 // known as the Chrome Variations state. |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1666 | 1670 |
1667 // ----------------------------------------------------------------------------- | 1671 // ----------------------------------------------------------------------------- |
1668 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1672 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1669 // | 1673 // |
1670 // You were going to just dump your switches here, weren't you? Instead, please | 1674 // You were going to just dump your switches here, weren't you? Instead, please |
1671 // put them in alphabetical order above, or in order inside the appropriate | 1675 // put them in alphabetical order above, or in order inside the appropriate |
1672 // ifdef at the bottom. The order should match the header. | 1676 // ifdef at the bottom. The order should match the header. |
1673 // ----------------------------------------------------------------------------- | 1677 // ----------------------------------------------------------------------------- |
1674 | 1678 |
1675 } // namespace switches | 1679 } // namespace switches |
OLD | NEW |