| 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 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1450 // Passes the name of the current running automated test to Chrome. | 1450 // Passes the name of the current running automated test to Chrome. |
| 1451 const char kTestName[] = "test-name"; | 1451 const char kTestName[] = "test-name"; |
| 1452 | 1452 |
| 1453 // Type of the current test harness ("browser" or "ui"). | 1453 // Type of the current test harness ("browser" or "ui"). |
| 1454 const char kTestType[] = "test-type"; | 1454 const char kTestType[] = "test-type"; |
| 1455 | 1455 |
| 1456 // Tells the app to listen for and broadcast testing-related messages on IPC | 1456 // Tells the app to listen for and broadcast testing-related messages on IPC |
| 1457 // channel with the given ID. | 1457 // channel with the given ID. |
| 1458 const char kTestingChannelID[] = "testing-channel"; | 1458 const char kTestingChannelID[] = "testing-channel"; |
| 1459 | 1459 |
| 1460 // Enables tracking the amount of non-idle time spent viewing pages. | |
| 1461 const char kTrackActiveVisitTime[] = "track-active-visit-time"; | |
| 1462 | |
| 1463 // Overrides the default server used for Google Translate. | 1460 // Overrides the default server used for Google Translate. |
| 1464 const char kTranslateScriptURL[] = "translate-script-url"; | 1461 const char kTranslateScriptURL[] = "translate-script-url"; |
| 1465 | 1462 |
| 1466 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. | 1463 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. |
| 1467 // The value is the host:port of the trusted proxy. | 1464 // The value is the host:port of the trusted proxy. |
| 1468 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; | 1465 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; |
| 1469 | 1466 |
| 1470 // Experimental. Shows a dialog asking the user to try chrome. This flag is to | 1467 // Experimental. Shows a dialog asking the user to try chrome. This flag is to |
| 1471 // be used only by the upgrade process. | 1468 // be used only by the upgrade process. |
| 1472 const char kTryChromeAgain[] = "try-chrome-again"; | 1469 const char kTryChromeAgain[] = "try-chrome-again"; |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1676 | 1673 |
| 1677 // ----------------------------------------------------------------------------- | 1674 // ----------------------------------------------------------------------------- |
| 1678 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1675 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1679 // | 1676 // |
| 1680 // You were going to just dump your switches here, weren't you? Instead, please | 1677 // You were going to just dump your switches here, weren't you? Instead, please |
| 1681 // put them in alphabetical order above, or in order inside the appropriate | 1678 // put them in alphabetical order above, or in order inside the appropriate |
| 1682 // ifdef at the bottom. The order should match the header. | 1679 // ifdef at the bottom. The order should match the header. |
| 1683 // ----------------------------------------------------------------------------- | 1680 // ----------------------------------------------------------------------------- |
| 1684 | 1681 |
| 1685 } // namespace switches | 1682 } // namespace switches |
| OLD | NEW |