| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; | 225 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; |
| 226 | 226 |
| 227 // Disable hardware encoding support for Cast Streaming. | 227 // Disable hardware encoding support for Cast Streaming. |
| 228 const char kDisableCastStreamingHWEncoding[] = | 228 const char kDisableCastStreamingHWEncoding[] = |
| 229 "disable-cast-streaming-hw-encoding"; | 229 "disable-cast-streaming-hw-encoding"; |
| 230 | 230 |
| 231 // Disables detection of child accounts. | 231 // Disables detection of child accounts. |
| 232 const char kDisableChildAccountDetection[] = | 232 const char kDisableChildAccountDetection[] = |
| 233 "disable-child-account-detection"; | 233 "disable-child-account-detection"; |
| 234 | 234 |
| 235 // Disables data volume counters in the Clear Browsing Data dialog. |
| 236 const char kDisableClearBrowsingDataCounters[] = |
| 237 "disable-clear-browsing-data-counters"; |
| 238 |
| 235 // Disables the client-side phishing detection feature. Note that even if | 239 // Disables the client-side phishing detection feature. Note that even if |
| 236 // client-side phishing detection is enabled, it will only be active if the | 240 // client-side phishing detection is enabled, it will only be active if the |
| 237 // user has opted in to UMA stats and SafeBrowsing is enabled in the | 241 // user has opted in to UMA stats and SafeBrowsing is enabled in the |
| 238 // preferences. | 242 // preferences. |
| 239 const char kDisableClientSidePhishingDetection[] = | 243 const char kDisableClientSidePhishingDetection[] = |
| 240 "disable-client-side-phishing-detection"; | 244 "disable-client-side-phishing-detection"; |
| 241 | 245 |
| 242 // Disable default component extensions with background pages - useful for | 246 // Disable default component extensions with background pages - useful for |
| 243 // performance tests where these pages may interfere with perf results. | 247 // performance tests where these pages may interfere with perf results. |
| 244 const char kDisableComponentExtensionsWithBackgroundPages[] = | 248 const char kDisableComponentExtensionsWithBackgroundPages[] = |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 // Enables the benchmarking extensions. | 394 // Enables the benchmarking extensions. |
| 391 const char kEnableBenchmarking[] = "enable-benchmarking"; | 395 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 392 | 396 |
| 393 // Enables the multi-level undo system for bookmarks. | 397 // Enables the multi-level undo system for bookmarks. |
| 394 const char kEnableBookmarkUndo[] = "enable-bookmark-undo"; | 398 const char kEnableBookmarkUndo[] = "enable-bookmark-undo"; |
| 395 | 399 |
| 396 // Enables detection of child accounts. | 400 // Enables detection of child accounts. |
| 397 const char kEnableChildAccountDetection[] = | 401 const char kEnableChildAccountDetection[] = |
| 398 "enable-child-account-detection"; | 402 "enable-child-account-detection"; |
| 399 | 403 |
| 400 // If true, the clear browsing data dialog will show data volume counters, | 404 // Enables data volume counters in the Clear Browsing Data dialog. |
| 401 // where available. | |
| 402 const char kEnableClearBrowsingDataCounters[] = | 405 const char kEnableClearBrowsingDataCounters[] = |
| 403 "enable-clear-browsing-data-counters"; | 406 "enable-clear-browsing-data-counters"; |
| 404 | 407 |
| 405 // This applies only when the process type is "service". Enables the Cloud | 408 // This applies only when the process type is "service". Enables the Cloud |
| 406 // Print Proxy component within the service process. | 409 // Print Proxy component within the service process. |
| 407 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 410 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
| 408 | 411 |
| 409 // If true devtools experimental settings are enabled. | 412 // If true devtools experimental settings are enabled. |
| 410 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; | 413 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; |
| 411 | 414 |
| (...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 | 1380 |
| 1378 // ----------------------------------------------------------------------------- | 1381 // ----------------------------------------------------------------------------- |
| 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1380 // | 1383 // |
| 1381 // You were going to just dump your switches here, weren't you? Instead, please | 1384 // You were going to just dump your switches here, weren't you? Instead, please |
| 1382 // put them in alphabetical order above, or in order inside the appropriate | 1385 // put them in alphabetical order above, or in order inside the appropriate |
| 1383 // ifdef at the bottom. The order should match the header. | 1386 // ifdef at the bottom. The order should match the header. |
| 1384 // ----------------------------------------------------------------------------- | 1387 // ----------------------------------------------------------------------------- |
| 1385 | 1388 |
| 1386 } // namespace switches | 1389 } // namespace switches |
| OLD | NEW |