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