| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 // Triggers a plethora of diagnostic modes. | 160 // Triggers a plethora of diagnostic modes. |
| 161 const char kDiagnostics[] = "diagnostics"; | 161 const char kDiagnostics[] = "diagnostics"; |
| 162 | 162 |
| 163 // Sets the output format for diagnostic modes enabled by diagnostics flag. | 163 // Sets the output format for diagnostic modes enabled by diagnostics flag. |
| 164 const char kDiagnosticsFormat[] = "diagnostics-format"; | 164 const char kDiagnosticsFormat[] = "diagnostics-format"; |
| 165 | 165 |
| 166 // Tells the diagnostics mode to do the requested recovery step(s). | 166 // Tells the diagnostics mode to do the requested recovery step(s). |
| 167 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; | 167 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; |
| 168 | 168 |
| 169 // Disables the display of a banner allowing the user to add a web | |
| 170 // app to their shelf (or platform-specific equivalent) | |
| 171 const char kDisableAddToShelf[] = "disable-add-to-shelf"; | |
| 172 | |
| 173 // Disable several subsystems which run network requests in the background. | 169 // Disable several subsystems which run network requests in the background. |
| 174 // This is for use when doing network performance testing to avoid noise in the | 170 // This is for use when doing network performance testing to avoid noise in the |
| 175 // measurements. | 171 // measurements. |
| 176 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 172 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
| 177 | 173 |
| 178 // Disables the bundled PPAPI version of Flash. | 174 // Disables the bundled PPAPI version of Flash. |
| 179 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; | 175 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; |
| 180 | 176 |
| 181 // Disable hardware encoding support for Cast Streaming. | 177 // Disable hardware encoding support for Cast Streaming. |
| 182 const char kDisableCastStreamingHWEncoding[] = | 178 const char kDisableCastStreamingHWEncoding[] = |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 | 283 |
| 288 const char kDnsLogDetails[] = "dns-log-details"; | 284 const char kDnsLogDetails[] = "dns-log-details"; |
| 289 | 285 |
| 290 // Requests that a running browser process dump its collected histograms to a | 286 // Requests that a running browser process dump its collected histograms to a |
| 291 // given file. The file is overwritten if it exists. | 287 // given file. The file is overwritten if it exists. |
| 292 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; | 288 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; |
| 293 | 289 |
| 294 // Overrides the path of Easy Unlock component app. | 290 // Overrides the path of Easy Unlock component app. |
| 295 const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; | 291 const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; |
| 296 | 292 |
| 297 // Enables the display of a banner allowing the user to add a web | |
| 298 // app to their shelf (or platform-specific equivalent) | |
| 299 const char kEnableAddToShelf[] = "enable-add-to-shelf"; | |
| 300 | |
| 301 // If the WebRTC logging private API is active, enables audio debug recordings. | 293 // If the WebRTC logging private API is active, enables audio debug recordings. |
| 302 const char kEnableAudioDebugRecordingsFromExtension[] = | 294 const char kEnableAudioDebugRecordingsFromExtension[] = |
| 303 "enable-audio-debug-recordings-from-extension"; | 295 "enable-audio-debug-recordings-from-extension"; |
| 304 | 296 |
| 305 // Inform users that their browser is being controlled by an automated test. | 297 // Inform users that their browser is being controlled by an automated test. |
| 306 const char kEnableAutomation[] = "enable-automation"; | 298 const char kEnableAutomation[] = "enable-automation"; |
| 307 | 299 |
| 308 // Enables the benchmarking extensions. | 300 // Enables the benchmarking extensions. |
| 309 const char kEnableBenchmarking[] = "enable-benchmarking"; | 301 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 310 | 302 |
| (...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1168 | 1160 |
| 1169 // ----------------------------------------------------------------------------- | 1161 // ----------------------------------------------------------------------------- |
| 1170 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1162 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1171 // | 1163 // |
| 1172 // You were going to just dump your switches here, weren't you? Instead, please | 1164 // You were going to just dump your switches here, weren't you? Instead, please |
| 1173 // put them in alphabetical order above, or in order inside the appropriate | 1165 // put them in alphabetical order above, or in order inside the appropriate |
| 1174 // ifdef at the bottom. The order should match the header. | 1166 // ifdef at the bottom. The order should match the header. |
| 1175 // ----------------------------------------------------------------------------- | 1167 // ----------------------------------------------------------------------------- |
| 1176 | 1168 |
| 1177 } // namespace switches | 1169 } // namespace switches |
| OLD | NEW |