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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 const char kDiskCacheDir[] = "disk-cache-dir"; | 520 const char kDiskCacheDir[] = "disk-cache-dir"; |
521 | 521 |
522 // Forces the maximum disk space to be used by the disk cache, in bytes. | 522 // Forces the maximum disk space to be used by the disk cache, in bytes. |
523 const char kDiskCacheSize[] = "disk-cache-size"; | 523 const char kDiskCacheSize[] = "disk-cache-size"; |
524 | 524 |
525 const char kDnsLogDetails[] = "dns-log-details"; | 525 const char kDnsLogDetails[] = "dns-log-details"; |
526 | 526 |
527 // Disables prefetching of DNS information. | 527 // Disables prefetching of DNS information. |
528 const char kDnsPrefetchDisable[] = "dns-prefetch-disable"; | 528 const char kDnsPrefetchDisable[] = "dns-prefetch-disable"; |
529 | 529 |
| 530 // Requests that a running browser process dump its collected histograms to a |
| 531 // given file. The file is overwritten if it exists. |
| 532 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; |
| 533 |
530 // If set, Flash fullscreen widgets are embedded within the browser window and | 534 // If set, Flash fullscreen widgets are embedded within the browser window and |
531 // with the same UX as HTML5 fullscreen. | 535 // with the same UX as HTML5 fullscreen. |
532 // | 536 // |
533 // TODO(miu): This feature is a work in-progress. It should not be enabled by | 537 // TODO(miu): This feature is a work in-progress. It should not be enabled by |
534 // default until going through a formal UX review, and all comments/concerns on | 538 // default until going through a formal UX review, and all comments/concerns on |
535 // the crbug are addressed. http://crbug.com/290403 | 539 // the crbug are addressed. http://crbug.com/290403 |
536 const char kEmbedFlashFullscreen[] = "embed-flash-fullscreen"; | 540 const char kEmbedFlashFullscreen[] = "embed-flash-fullscreen"; |
537 | 541 |
538 // Enables the <adview> tag in packaged apps. | 542 // Enables the <adview> tag in packaged apps. |
539 const char kEnableAdview[] = "enable-adview"; | 543 const char kEnableAdview[] = "enable-adview"; |
(...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 | 1645 |
1642 // ----------------------------------------------------------------------------- | 1646 // ----------------------------------------------------------------------------- |
1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1647 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1644 // | 1648 // |
1645 // You were going to just dump your switches here, weren't you? Instead, please | 1649 // You were going to just dump your switches here, weren't you? Instead, please |
1646 // put them in alphabetical order above, or in order inside the appropriate | 1650 // put them in alphabetical order above, or in order inside the appropriate |
1647 // ifdef at the bottom. The order should match the header. | 1651 // ifdef at the bottom. The order should match the header. |
1648 // ----------------------------------------------------------------------------- | 1652 // ----------------------------------------------------------------------------- |
1649 | 1653 |
1650 } // namespace switches | 1654 } // namespace switches |
OLD | NEW |