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