Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1612663002: Use a valid /prefetch argument when launching a process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bit
Patch Set: rebase + prefetch argument for crashpad Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; 1242 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager";
1243 1243
1244 // For the DelegateExecute verb handler to launch Chrome in metro mode on 1244 // For the DelegateExecute verb handler to launch Chrome in metro mode on
1245 // Windows 8 and higher. Used when relaunching metro Chrome. 1245 // Windows 8 and higher. Used when relaunching metro Chrome.
1246 const char kForceImmersive[] = "force-immersive"; 1246 const char kForceImmersive[] = "force-immersive";
1247 1247
1248 // Whether or not the browser should warn if the profile is on a network share. 1248 // Whether or not the browser should warn if the profile is on a network share.
1249 // This flag is only relevant for Windows currently. 1249 // This flag is only relevant for Windows currently.
1250 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; 1250 const char kNoNetworkProfileWarning[] = "no-network-profile-warning";
1251 1251
1252 // /prefetch:# arguments for the browser process launched in background mode and
1253 // for the watcher process. Use profiles 5, 6 and 7 as documented on
1254 // kPrefetchArgument* in content_switches.cc.
1255 const char kPrefetchArgumentBrowserBackground[] = "/prefetch:5";
1256 const char kPrefetchArgumentWatcher[] = "/prefetch:6";
1257 // /prefetch:7 is used by crashpad, which can't depend on constants defined
1258 // here. See crashpad_win.cc for more details.
1259
1252 // For the DelegateExecute verb handler to launch Chrome in desktop mode on 1260 // For the DelegateExecute verb handler to launch Chrome in desktop mode on
1253 // Windows 8 and higher. Used when relaunching metro Chrome. 1261 // Windows 8 and higher. Used when relaunching metro Chrome.
1254 const char kForceDesktop[] = "force-desktop"; 1262 const char kForceDesktop[] = "force-desktop";
1255 1263
1256 // Makes Windows happy by allowing it to show "Enable access to this program" 1264 // Makes Windows happy by allowing it to show "Enable access to this program"
1257 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only 1265 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only
1258 // shows an error box because the only way to hide Chrome is by uninstalling 1266 // shows an error box because the only way to hide Chrome is by uninstalling
1259 // it. 1267 // it.
1260 const char kHideIcons[] = "hide-icons"; 1268 const char kHideIcons[] = "hide-icons";
1261 1269
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 1396
1389 // ----------------------------------------------------------------------------- 1397 // -----------------------------------------------------------------------------
1390 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1398 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1391 // 1399 //
1392 // You were going to just dump your switches here, weren't you? Instead, please 1400 // You were going to just dump your switches here, weren't you? Instead, please
1393 // put them in alphabetical order above, or in order inside the appropriate 1401 // put them in alphabetical order above, or in order inside the appropriate
1394 // ifdef at the bottom. The order should match the header. 1402 // ifdef at the bottom. The order should match the header.
1395 // ----------------------------------------------------------------------------- 1403 // -----------------------------------------------------------------------------
1396 1404
1397 } // namespace switches 1405 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698