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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1250 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; | 1250 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; |
| 1251 | 1251 |
| 1252 // For the DelegateExecute verb handler to launch Chrome in metro mode on | 1252 // For the DelegateExecute verb handler to launch Chrome in metro mode on |
| 1253 // Windows 8 and higher. Used when relaunching metro Chrome. | 1253 // Windows 8 and higher. Used when relaunching metro Chrome. |
| 1254 const char kForceImmersive[] = "force-immersive"; | 1254 const char kForceImmersive[] = "force-immersive"; |
| 1255 | 1255 |
| 1256 // Whether or not the browser should warn if the profile is on a network share. | 1256 // Whether or not the browser should warn if the profile is on a network share. |
| 1257 // This flag is only relevant for Windows currently. | 1257 // This flag is only relevant for Windows currently. |
| 1258 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; | 1258 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; |
| 1259 | 1259 |
| 1260 // /prefetch:# arguments for the browser process launched in background mode and | |
| 1261 // for the watcher process. These constants must be different from the | |
| 1262 // kPrefetchArgument* constants defined in content_switches.cc. | |
|
gab
2016/01/29 19:39:28
s/These constants must.../Use profiles 6 and 7 as
fdoray
2016/02/01 13:28:26
Done.
| |
| 1263 const char kPrefetchArgumentBrowserBackground[] = "/prefetch:6"; | |
| 1264 const char kPrefetchArgumentWatcher[] = "/prefetch:7"; | |
| 1265 | |
| 1260 // For the DelegateExecute verb handler to launch Chrome in desktop mode on | 1266 // For the DelegateExecute verb handler to launch Chrome in desktop mode on |
| 1261 // Windows 8 and higher. Used when relaunching metro Chrome. | 1267 // Windows 8 and higher. Used when relaunching metro Chrome. |
| 1262 const char kForceDesktop[] = "force-desktop"; | 1268 const char kForceDesktop[] = "force-desktop"; |
| 1263 | 1269 |
| 1264 // Makes Windows happy by allowing it to show "Enable access to this program" | 1270 // Makes Windows happy by allowing it to show "Enable access to this program" |
| 1265 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only | 1271 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only |
| 1266 // shows an error box because the only way to hide Chrome is by uninstalling | 1272 // shows an error box because the only way to hide Chrome is by uninstalling |
| 1267 // it. | 1273 // it. |
| 1268 const char kHideIcons[] = "hide-icons"; | 1274 const char kHideIcons[] = "hide-icons"; |
| 1269 | 1275 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1396 | 1402 |
| 1397 // ----------------------------------------------------------------------------- | 1403 // ----------------------------------------------------------------------------- |
| 1398 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1404 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1399 // | 1405 // |
| 1400 // You were going to just dump your switches here, weren't you? Instead, please | 1406 // You were going to just dump your switches here, weren't you? Instead, please |
| 1401 // put them in alphabetical order above, or in order inside the appropriate | 1407 // put them in alphabetical order above, or in order inside the appropriate |
| 1402 // ifdef at the bottom. The order should match the header. | 1408 // ifdef at the bottom. The order should match the header. |
| 1403 // ----------------------------------------------------------------------------- | 1409 // ----------------------------------------------------------------------------- |
| 1404 | 1410 |
| 1405 } // namespace switches | 1411 } // namespace switches |
| OLD | NEW |