| 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 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 const char kRelauncherProcess[] = "relauncher"; | 1231 const char kRelauncherProcess[] = "relauncher"; |
| 1232 | 1232 |
| 1233 // When switches::kProcessType is switches::kRelauncherProcess, if this switch | 1233 // When switches::kProcessType is switches::kRelauncherProcess, if this switch |
| 1234 // is also present, the relauncher process will unmount and eject a mounted disk | 1234 // is also present, the relauncher process will unmount and eject a mounted disk |
| 1235 // image and move its disk image file to the trash. The argument's value must | 1235 // image and move its disk image file to the trash. The argument's value must |
| 1236 // be a BSD device name of the form "diskN" or "diskNsM". | 1236 // be a BSD device name of the form "diskN" or "diskNsM". |
| 1237 const char kRelauncherProcessDMGDevice[] = "dmg-device"; | 1237 const char kRelauncherProcessDMGDevice[] = "dmg-device"; |
| 1238 #endif // defined(OS_MACOSX) | 1238 #endif // defined(OS_MACOSX) |
| 1239 | 1239 |
| 1240 #if defined(OS_WIN) | 1240 #if defined(OS_WIN) |
| 1241 // A process type (switches::kProcessType) that indicates chrome.exe is being | |
| 1242 // launched as crashpad_handler. This is only used on Windows. We bundle the | |
| 1243 // handler into chrome.exe on Windows because there is high probability of a | |
| 1244 // "new" .exe being blocked or interfered with by application firewalls, AV | |
| 1245 // software, etc. On other platforms, crashpad_handler is a standalone | |
| 1246 // executable. | |
| 1247 const char kCrashpadHandler[] = "crashpad-handler"; | |
| 1248 | |
| 1249 // Fallback to XPS. By default connector uses CDD. | 1241 // Fallback to XPS. By default connector uses CDD. |
| 1250 const char kEnableCloudPrintXps[] = "enable-cloud-print-xps"; | 1242 const char kEnableCloudPrintXps[] = "enable-cloud-print-xps"; |
| 1251 | 1243 |
| 1252 // Force-enables the profile shortcut manager. This is needed for tests since | 1244 // Force-enables the profile shortcut manager. This is needed for tests since |
| 1253 // they use a custom-user-data-dir which disables this. | 1245 // they use a custom-user-data-dir which disables this. |
| 1254 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; | 1246 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; |
| 1255 | 1247 |
| 1256 // For the DelegateExecute verb handler to launch Chrome in metro mode on | 1248 // For the DelegateExecute verb handler to launch Chrome in metro mode on |
| 1257 // Windows 8 and higher. Used when relaunching metro Chrome. | 1249 // Windows 8 and higher. Used when relaunching metro Chrome. |
| 1258 const char kForceImmersive[] = "force-immersive"; | 1250 const char kForceImmersive[] = "force-immersive"; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1375 | 1367 |
| 1376 // ----------------------------------------------------------------------------- | 1368 // ----------------------------------------------------------------------------- |
| 1377 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1369 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1378 // | 1370 // |
| 1379 // You were going to just dump your switches here, weren't you? Instead, please | 1371 // You were going to just dump your switches here, weren't you? Instead, please |
| 1380 // put them in alphabetical order above, or in order inside the appropriate | 1372 // put them in alphabetical order above, or in order inside the appropriate |
| 1381 // ifdef at the bottom. The order should match the header. | 1373 // ifdef at the bottom. The order should match the header. |
| 1382 // ----------------------------------------------------------------------------- | 1374 // ----------------------------------------------------------------------------- |
| 1383 | 1375 |
| 1384 } // namespace switches | 1376 } // namespace switches |
| OLD | NEW |