Chromium Code Reviews| 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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1093 // affects HTTP and HTTPS requests. | 1093 // affects HTTP and HTTPS requests. |
| 1094 const char kProxyServer[] = "proxy-server"; | 1094 const char kProxyServer[] = "proxy-server"; |
| 1095 | 1095 |
| 1096 // Adds a "Purge memory" button to the Task Manager, which tries to dump as | 1096 // Adds a "Purge memory" button to the Task Manager, which tries to dump as |
| 1097 // much memory as possible. This is mostly useful for testing how well the | 1097 // much memory as possible. This is mostly useful for testing how well the |
| 1098 // MemoryPurger functionality works. | 1098 // MemoryPurger functionality works. |
| 1099 // | 1099 // |
| 1100 // NOTE: This is only implemented for Views. | 1100 // NOTE: This is only implemented for Views. |
| 1101 const char kPurgeMemoryButton[] = "purge-memory-button"; | 1101 const char kPurgeMemoryButton[] = "purge-memory-button"; |
| 1102 | 1102 |
| 1103 // Determines whether or not EULA has been accepted at some point, and returns | |
| 1104 // the result (0 or 1) as exit code. | |
|
grt (UTC plus 2)
2013/01/23 19:02:29
please be explicit as to what 0 and 1 mean. in gen
huangs
2013/01/24 00:08:08
Done; made comment explicit, and returning E_FAIL
| |
| 1105 const char kQueryEULAAcceptance[] = "query-eula-acceptance"; | |
| 1106 | |
| 1103 // Capture resource consumption information through page cycling and output the | 1107 // Capture resource consumption information through page cycling and output the |
| 1104 // data to the specified file. | 1108 // data to the specified file. |
| 1105 const char kRecordStats[] = "record-stats"; | 1109 const char kRecordStats[] = "record-stats"; |
| 1106 | 1110 |
| 1107 // Chrome supports a playback and record mode. Record mode saves *everything* | 1111 // Chrome supports a playback and record mode. Record mode saves *everything* |
| 1108 // to the cache. Playback mode reads data exclusively from the cache. This | 1112 // to the cache. Playback mode reads data exclusively from the cache. This |
| 1109 // allows us to record a session into the cache and then replay it at will. | 1113 // allows us to record a session into the cache and then replay it at will. |
| 1110 // See also kPlaybackMode. | 1114 // See also kPlaybackMode. |
| 1111 const char kRecordMode[] = "record-mode"; | 1115 const char kRecordMode[] = "record-mode"; |
| 1112 | 1116 |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1621 | 1625 |
| 1622 // ----------------------------------------------------------------------------- | 1626 // ----------------------------------------------------------------------------- |
| 1623 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1627 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1624 // | 1628 // |
| 1625 // You were going to just dump your switches here, weren't you? Instead, please | 1629 // You were going to just dump your switches here, weren't you? Instead, please |
| 1626 // put them in alphabetical order above, or in order inside the appropriate | 1630 // put them in alphabetical order above, or in order inside the appropriate |
| 1627 // ifdef at the bottom. The order should match the header. | 1631 // ifdef at the bottom. The order should match the header. |
| 1628 // ----------------------------------------------------------------------------- | 1632 // ----------------------------------------------------------------------------- |
| 1629 | 1633 |
| 1630 } // namespace switches | 1634 } // namespace switches |
| OLD | NEW |