| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 // Adds a "Purge memory" button to the Task Manager, which tries to dump as | 938 // Adds a "Purge memory" button to the Task Manager, which tries to dump as |
| 939 // much memory as possible. This is mostly useful for testing how well the | 939 // much memory as possible. This is mostly useful for testing how well the |
| 940 // MemoryPurger functionality works. | 940 // MemoryPurger functionality works. |
| 941 // | 941 // |
| 942 // NOTE: This is only implemented for Views. | 942 // NOTE: This is only implemented for Views. |
| 943 const char kPurgeMemoryButton[] = "purge-memory-button"; | 943 const char kPurgeMemoryButton[] = "purge-memory-button"; |
| 944 | 944 |
| 945 // Reloads pages that have been killed when they are next focused by the user. | 945 // Reloads pages that have been killed when they are next focused by the user. |
| 946 const char kReloadKilledTabs[] = "reload-killed-tabs"; | 946 const char kReloadKilledTabs[] = "reload-killed-tabs"; |
| 947 | 947 |
| 948 // Uses custom front-end URL for the remote debugging. |
| 949 const char kRemoteDebuggingFrontend[] = "remote-debugging-frontend"; |
| 950 |
| 948 // Enables remote debug over HTTP on the specified port. | 951 // Enables remote debug over HTTP on the specified port. |
| 949 const char kRemoteDebuggingPort[] = "remote-debugging-port"; | 952 const char kRemoteDebuggingPort[] = "remote-debugging-port"; |
| 950 | 953 |
| 951 // Indicates the last session should be restored on startup. This overrides the | 954 // Indicates the last session should be restored on startup. This overrides the |
| 952 // preferences value and is primarily intended for testing. The value of this | 955 // preferences value and is primarily intended for testing. The value of this |
| 953 // switch is the number of tabs to wait until loaded before 'load completed' is | 956 // switch is the number of tabs to wait until loaded before 'load completed' is |
| 954 // sent to the ui_test. | 957 // sent to the ui_test. |
| 955 const char kRestoreLastSession[] = "restore-last-session"; | 958 const char kRestoreLastSession[] = "restore-last-session"; |
| 956 | 959 |
| 957 // URL prefix used by safebrowsing to fetch hash, download data and report | 960 // URL prefix used by safebrowsing to fetch hash, download data and report |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1292 | 1295 |
| 1293 // ----------------------------------------------------------------------------- | 1296 // ----------------------------------------------------------------------------- |
| 1294 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1297 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1295 // | 1298 // |
| 1296 // You were going to just dump your switches here, weren't you? Instead, please | 1299 // You were going to just dump your switches here, weren't you? Instead, please |
| 1297 // put them in alphabetical order above, or in order inside the appropriate | 1300 // put them in alphabetical order above, or in order inside the appropriate |
| 1298 // ifdef at the bottom. The order should match the header. | 1301 // ifdef at the bottom. The order should match the header. |
| 1299 // ----------------------------------------------------------------------------- | 1302 // ----------------------------------------------------------------------------- |
| 1300 | 1303 |
| 1301 } // namespace switches | 1304 } // namespace switches |
| OLD | NEW |