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 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 // Tells the app to listen for and broadcast testing-related messages on IPC | 1441 // Tells the app to listen for and broadcast testing-related messages on IPC |
1442 // channel with the given ID. | 1442 // channel with the given ID. |
1443 const char kTestingChannelID[] = "testing-channel"; | 1443 const char kTestingChannelID[] = "testing-channel"; |
1444 | 1444 |
1445 // Enables tracking the amount of non-idle time spent viewing pages. | 1445 // Enables tracking the amount of non-idle time spent viewing pages. |
1446 const char kTrackActiveVisitTime[] = "track-active-visit-time"; | 1446 const char kTrackActiveVisitTime[] = "track-active-visit-time"; |
1447 | 1447 |
1448 // Overrides the default server used for Google Translate. | 1448 // Overrides the default server used for Google Translate. |
1449 const char kTranslateScriptURL[] = "translate-script-url"; | 1449 const char kTranslateScriptURL[] = "translate-script-url"; |
1450 | 1450 |
1451 // Overrides security-origin with which Translate runs in an isolated world. | |
1452 const char kTranslateSecurityOrigin[] = "translate-security-origin"; | |
1453 | |
1454 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. | 1451 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. |
1455 // The value is the host:port of the trusted proxy. | 1452 // The value is the host:port of the trusted proxy. |
1456 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; | 1453 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; |
1457 | 1454 |
1458 // Experimental. Shows a dialog asking the user to try chrome. This flag is to | 1455 // Experimental. Shows a dialog asking the user to try chrome. This flag is to |
1459 // be used only by the upgrade process. | 1456 // be used only by the upgrade process. |
1460 const char kTryChromeAgain[] = "try-chrome-again"; | 1457 const char kTryChromeAgain[] = "try-chrome-again"; |
1461 | 1458 |
1462 // Uninstalls an extension with the specified extension id. | 1459 // Uninstalls an extension with the specified extension id. |
1463 const char kUninstallExtension[] = "uninstall-extension"; | 1460 const char kUninstallExtension[] = "uninstall-extension"; |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1662 | 1659 |
1663 // ----------------------------------------------------------------------------- | 1660 // ----------------------------------------------------------------------------- |
1664 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1661 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1665 // | 1662 // |
1666 // You were going to just dump your switches here, weren't you? Instead, please | 1663 // You were going to just dump your switches here, weren't you? Instead, please |
1667 // put them in alphabetical order above, or in order inside the appropriate | 1664 // put them in alphabetical order above, or in order inside the appropriate |
1668 // ifdef at the bottom. The order should match the header. | 1665 // ifdef at the bottom. The order should match the header. |
1669 // ----------------------------------------------------------------------------- | 1666 // ----------------------------------------------------------------------------- |
1670 | 1667 |
1671 } // namespace switches | 1668 } // namespace switches |
OLD | NEW |