| 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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 // Enables tracking of tasks in profiler for viewing via about:profiler. | 621 // Enables tracking of tasks in profiler for viewing via about:profiler. |
| 622 // To predominantly disable tracking (profiling), use the command line switch: | 622 // To predominantly disable tracking (profiling), use the command line switch: |
| 623 // --enable-profiling=0 | 623 // --enable-profiling=0 |
| 624 // Some tracking will still take place at startup, but it will be turned off | 624 // Some tracking will still take place at startup, but it will be turned off |
| 625 // during chrome_browser_main. | 625 // during chrome_browser_main. |
| 626 const char kEnableProfiling[] = "enable-profiling"; | 626 const char kEnableProfiling[] = "enable-profiling"; |
| 627 | 627 |
| 628 // Enables or disables extension scripts badges in the location bar. | 628 // Enables or disables extension scripts badges in the location bar. |
| 629 const char kScriptBadges[] = "script-badges"; | 629 const char kScriptBadges[] = "script-badges"; |
| 630 | 630 |
| 631 // Enables or disables sideload wipeout extension effort. |
| 632 const char kSideloadWipeout[] = "sideload-wipeout"; |
| 633 |
| 631 // Controls the support for SDCH filtering (dictionary based expansion of | 634 // Controls the support for SDCH filtering (dictionary based expansion of |
| 632 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 635 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
| 633 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 636 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
| 634 // supported server-side for searches on google.com. | 637 // supported server-side for searches on google.com. |
| 635 const char kEnableSdch[] = "enable-sdch"; | 638 const char kEnableSdch[] = "enable-sdch"; |
| 636 | 639 |
| 637 // Enable the settings WebUI dialog that installs as a packaged app. | 640 // Enable the settings WebUI dialog that installs as a packaged app. |
| 638 const char kEnableSettingsApp[] = "enable-settings-app"; | 641 const char kEnableSettingsApp[] = "enable-settings-app"; |
| 639 | 642 |
| 640 // Enable SPDY/3. This is a temporary testing flag. | 643 // Enable SPDY/3. This is a temporary testing flag. |
| (...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1594 return true; | 1597 return true; |
| 1595 #elif defined(OS_WIN) | 1598 #elif defined(OS_WIN) |
| 1596 return true; | 1599 return true; |
| 1597 #else | 1600 #else |
| 1598 return CommandLine::ForCurrentProcess()->HasSwitch( | 1601 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1599 switches::kEnableFramelessConstrainedDialogs); | 1602 switches::kEnableFramelessConstrainedDialogs); |
| 1600 #endif | 1603 #endif |
| 1601 } | 1604 } |
| 1602 | 1605 |
| 1603 } // namespace chrome | 1606 } // namespace chrome |
| OLD | NEW |