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