| 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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 "enable-extension-activity-log-testing"; | 576 "enable-extension-activity-log-testing"; |
| 577 | 577 |
| 578 // Enables or disables showing extensions in the action box. | 578 // Enables or disables showing extensions in the action box. |
| 579 const char kExtensionsInActionBox[] = "extensions-in-action-box"; | 579 const char kExtensionsInActionBox[] = "extensions-in-action-box"; |
| 580 | 580 |
| 581 // Enable the fast unload controller, which speeds up tab/window close by | 581 // Enable the fast unload controller, which speeds up tab/window close by |
| 582 // running a tab's onunload js handler independently of the GUI - | 582 // running a tab's onunload js handler independently of the GUI - |
| 583 // crbug.com/142458 . | 583 // crbug.com/142458 . |
| 584 const char kEnableFastUnload[] = "enable-fast-unload"; | 584 const char kEnableFastUnload[] = "enable-fast-unload"; |
| 585 | 585 |
| 586 // By default, cookies are not allowed on file://. They are needed for testing, | |
| 587 // for example page cycler and layout tests. See bug 1157243. | |
| 588 const char kEnableFileCookies[] = "enable-file-cookies"; | |
| 589 | |
| 590 // Enables Google Now integration. | 586 // Enables Google Now integration. |
| 591 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; | 587 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; |
| 592 | 588 |
| 593 // Enable HTTP/2 draft 04. This is a temporary testing flag. | 589 // Enable HTTP/2 draft 04. This is a temporary testing flag. |
| 594 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; | 590 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; |
| 595 | 591 |
| 596 // Enable Instant extended API. On mobile, this merely enables query extraction, | 592 // Enable Instant extended API. On mobile, this merely enables query extraction, |
| 597 // not the rest of the instant-extended functionality. | 593 // not the rest of the instant-extended functionality. |
| 598 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; | 594 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; |
| 599 | 595 |
| (...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1607 | 1603 |
| 1608 // ----------------------------------------------------------------------------- | 1604 // ----------------------------------------------------------------------------- |
| 1609 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1605 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1610 // | 1606 // |
| 1611 // You were going to just dump your switches here, weren't you? Instead, please | 1607 // You were going to just dump your switches here, weren't you? Instead, please |
| 1612 // put them in alphabetical order above, or in order inside the appropriate | 1608 // put them in alphabetical order above, or in order inside the appropriate |
| 1613 // ifdef at the bottom. The order should match the header. | 1609 // ifdef at the bottom. The order should match the header. |
| 1614 // ----------------------------------------------------------------------------- | 1610 // ----------------------------------------------------------------------------- |
| 1615 | 1611 |
| 1616 } // namespace switches | 1612 } // namespace switches |
| OLD | NEW |