| 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 | 545 |
| 546 // Enables IP Pooling within the networks stack (SPDY only). When a connection | 546 // Enables IP Pooling within the networks stack (SPDY only). When a connection |
| 547 // is needed for a domain which shares an IP with an existing connection, | 547 // is needed for a domain which shares an IP with an existing connection, |
| 548 // attempt to use the existing connection. | 548 // attempt to use the existing connection. |
| 549 const char kEnableIPPooling[] = "enable-ip-pooling"; | 549 const char kEnableIPPooling[] = "enable-ip-pooling"; |
| 550 | 550 |
| 551 // The managed storage extension API is disabled by default for now. This | 551 // The managed storage extension API is disabled by default for now. This |
| 552 // flag can be used to enable it until http://crbug.com/108992 is fixed. | 552 // flag can be used to enable it until http://crbug.com/108992 is fixed. |
| 553 extern const char kEnableManagedStorage[] = "enable-managed-storage"; | 553 extern const char kEnableManagedStorage[] = "enable-managed-storage"; |
| 554 | 554 |
| 555 // Enables support for user profiles that are managed by another user and can |
| 556 // have restrictions applied. |
| 557 extern const char kEnableManagedUsers[] = "enable-managed-users"; |
| 558 |
| 555 // Allows reporting memory info (JS heap size) to page. | 559 // Allows reporting memory info (JS heap size) to page. |
| 556 const char kEnableMemoryInfo[] = "enable-memory-info"; | 560 const char kEnableMemoryInfo[] = "enable-memory-info"; |
| 557 | 561 |
| 558 // Enables metrics recording and reporting in the browser startup sequence, as | 562 // Enables metrics recording and reporting in the browser startup sequence, as |
| 559 // if this was an official Chrome build where the user allowed metrics | 563 // if this was an official Chrome build where the user allowed metrics |
| 560 // reporting. This is used for testing only. | 564 // reporting. This is used for testing only. |
| 561 const char kEnableMetricsReportingForTesting[] = | 565 const char kEnableMetricsReportingForTesting[] = |
| 562 "enable-metrics-reporting-for-testing"; | 566 "enable-metrics-reporting-for-testing"; |
| 563 | 567 |
| 564 // Runs the Native Client inside the renderer process and enables GPU plugin | 568 // Runs the Native Client inside the renderer process and enables GPU plugin |
| (...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 #elif defined(OS_WIN) | 1632 #elif defined(OS_WIN) |
| 1629 return CommandLine::ForCurrentProcess()->HasSwitch( | 1633 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1630 switches::kEnableChromeStyleDialogs); | 1634 switches::kEnableChromeStyleDialogs); |
| 1631 #else | 1635 #else |
| 1632 return CommandLine::ForCurrentProcess()->HasSwitch( | 1636 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1633 switches::kEnableChromeStyleDialogs); | 1637 switches::kEnableChromeStyleDialogs); |
| 1634 #endif | 1638 #endif |
| 1635 } | 1639 } |
| 1636 | 1640 |
| 1637 } // namespace chrome | 1641 } // namespace chrome |
| OLD | NEW |