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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 // The managed storage extension API is disabled by default for now. This | 566 // The managed storage extension API is disabled by default for now. This |
567 // flag can be used to enable it until http://crbug.com/108992 is fixed. | 567 // flag can be used to enable it until http://crbug.com/108992 is fixed. |
568 extern const char kEnableManagedStorage[] = "enable-managed-storage"; | 568 extern const char kEnableManagedStorage[] = "enable-managed-storage"; |
569 | 569 |
570 // Enables media gallery UI elements and permission management. | 570 // Enables media gallery UI elements and permission management. |
571 const char kEnableMediaGalleryUI[] = "enable-media-gallery-ui"; | 571 const char kEnableMediaGalleryUI[] = "enable-media-gallery-ui"; |
572 | 572 |
573 // Allows reporting memory info (JS heap size) to page. | 573 // Allows reporting memory info (JS heap size) to page. |
574 const char kEnableMemoryInfo[] = "enable-memory-info"; | 574 const char kEnableMemoryInfo[] = "enable-memory-info"; |
575 | 575 |
| 576 // Enables metrics recording and reporting in the browser startup sequence, as |
| 577 // if this was an official Chrome build where the user allowed metrics |
| 578 // reporting. This is used for testing only. |
| 579 const char kEnableMetricsReportingForTesting[] = |
| 580 "enable-metrics-reporting-for-testing"; |
| 581 |
576 // Runs the Native Client inside the renderer process and enables GPU plugin | 582 // Runs the Native Client inside the renderer process and enables GPU plugin |
577 // (internally adds lEnableGpuPlugin to the command line). | 583 // (internally adds lEnableGpuPlugin to the command line). |
578 const char kEnableNaCl[] = "enable-nacl"; | 584 const char kEnableNaCl[] = "enable-nacl"; |
579 | 585 |
580 // Enables debugging via RSP over a socket. | 586 // Enables debugging via RSP over a socket. |
581 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 587 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
582 | 588 |
583 // Enables the Chrome IPC-based Proxy for NaCl. | 589 // Enables the Chrome IPC-based Proxy for NaCl. |
584 const char kEnableNaClIPCProxy[] = "enable-nacl-ipc-proxy"; | 590 const char kEnableNaClIPCProxy[] = "enable-nacl-ipc-proxy"; |
585 | 591 |
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 | 1558 |
1553 // ----------------------------------------------------------------------------- | 1559 // ----------------------------------------------------------------------------- |
1554 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1560 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1555 // | 1561 // |
1556 // You were going to just dump your switches here, weren't you? Instead, please | 1562 // You were going to just dump your switches here, weren't you? Instead, please |
1557 // put them in alphabetical order above, or in order inside the appropriate | 1563 // put them in alphabetical order above, or in order inside the appropriate |
1558 // ifdef at the bottom. The order should match the header. | 1564 // ifdef at the bottom. The order should match the header. |
1559 // ----------------------------------------------------------------------------- | 1565 // ----------------------------------------------------------------------------- |
1560 | 1566 |
1561 } // namespace switches | 1567 } // namespace switches |
OLD | NEW |