| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; | 183 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
| 184 | 184 |
| 185 // Causes the browser process to crash if the number of browser threads that | 185 // Causes the browser process to crash if the number of browser threads that |
| 186 // are responding is equal to the given number. | 186 // are responding is equal to the given number. |
| 187 // | 187 // |
| 188 // For example: | 188 // For example: |
| 189 // --crash-on-live=1 --> Crash if only one thread is responsive and all | 189 // --crash-on-live=1 --> Crash if only one thread is responsive and all |
| 190 // other threads are not responsive. | 190 // other threads are not responsive. |
| 191 const char kCrashOnLive[] = "crash-on-live"; | 191 const char kCrashOnLive[] = "crash-on-live"; |
| 192 | 192 |
| 193 // If true the mobile bookmarks folder is created on the sync side. |
| 194 const char kCreateMobileBookmarksFolder[] = "create-mobile-bookmarks-folder"; |
| 195 |
| 193 // Path to the inspector files on disk (allows reloading of devtool files | 196 // Path to the inspector files on disk (allows reloading of devtool files |
| 194 // without having to restart the browser). | 197 // without having to restart the browser). |
| 195 const char kDebugDevToolsFrontend[] = "debug-devtools-frontend"; | 198 const char kDebugDevToolsFrontend[] = "debug-devtools-frontend"; |
| 196 | 199 |
| 197 // Enables a frame context menu item that toggles the frame in and out of glass | 200 // Enables a frame context menu item that toggles the frame in and out of glass |
| 198 // mode (Windows Vista and up only). | 201 // mode (Windows Vista and up only). |
| 199 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; | 202 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; |
| 200 | 203 |
| 201 // Enables support to debug printing subsystem. | 204 // Enables support to debug printing subsystem. |
| 202 const char kDebugPrint[] = "debug-print"; | 205 const char kDebugPrint[] = "debug-print"; |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 // Enables syncing browser sessions. | 563 // Enables syncing browser sessions. |
| 561 const char kEnableSyncTabs[] = "enable-sync-tabs"; | 564 const char kEnableSyncTabs[] = "enable-sync-tabs"; |
| 562 | 565 |
| 563 // Enables syncing browser sessions for other synced clients. | 566 // Enables syncing browser sessions for other synced clients. |
| 564 const char kEnableSyncTabsForOtherClients[] = | 567 const char kEnableSyncTabsForOtherClients[] = |
| 565 "enable-sync-tabs-for-other-clients"; | 568 "enable-sync-tabs-for-other-clients"; |
| 566 | 569 |
| 567 // Enables context menu for selecting groups of tabs. | 570 // Enables context menu for selecting groups of tabs. |
| 568 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; | 571 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; |
| 569 | 572 |
| 570 // Enables the "synced bookmarks" folder. | |
| 571 const char kEnableSyncedBookmarksFolder[] = "enable-synced-bookmarks-folder"; | |
| 572 | |
| 573 // Spawns threads to watch for excessive delays in specified message loops. | 573 // Spawns threads to watch for excessive delays in specified message loops. |
| 574 // User should set breakpoints on Alarm() to examine problematic thread. | 574 // User should set breakpoints on Alarm() to examine problematic thread. |
| 575 // | 575 // |
| 576 // Usage: -enable-watchdog=[ui][io] | 576 // Usage: -enable-watchdog=[ui][io] |
| 577 // | 577 // |
| 578 // Order of the listed sub-arguments does not matter. | 578 // Order of the listed sub-arguments does not matter. |
| 579 const char kEnableWatchdog[] = "enable-watchdog"; | 579 const char kEnableWatchdog[] = "enable-watchdog"; |
| 580 | 580 |
| 581 // Uses WebSocket over SPDY. | 581 // Uses WebSocket over SPDY. |
| 582 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; | 582 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1299 | 1299 |
| 1300 // ----------------------------------------------------------------------------- | 1300 // ----------------------------------------------------------------------------- |
| 1301 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1301 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1302 // | 1302 // |
| 1303 // You were going to just dump your switches here, weren't you? Instead, please | 1303 // You were going to just dump your switches here, weren't you? Instead, please |
| 1304 // put them in alphabetical order above, or in order inside the appropriate | 1304 // put them in alphabetical order above, or in order inside the appropriate |
| 1305 // ifdef at the bottom. The order should match the header. | 1305 // ifdef at the bottom. The order should match the header. |
| 1306 // ----------------------------------------------------------------------------- | 1306 // ----------------------------------------------------------------------------- |
| 1307 | 1307 |
| 1308 } // namespace switches | 1308 } // namespace switches |
| OLD | NEW |