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