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

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

Issue 3312014: Add a command line switch "--disable-background-networking", to be used in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // TODO(scherkus): remove --disable-audio when we have a proper fallback 133 // TODO(scherkus): remove --disable-audio when we have a proper fallback
134 // mechanism. 134 // mechanism.
135 const char kDisableAudio[] = "disable-audio"; 135 const char kDisableAudio[] = "disable-audio";
136 136
137 // Disable CNAME lookup of the host when generating the Kerberos SPN for a 137 // Disable CNAME lookup of the host when generating the Kerberos SPN for a
138 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 138 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
139 // for more background. 139 // for more background.
140 const char kDisableAuthNegotiateCnameLookup[] = 140 const char kDisableAuthNegotiateCnameLookup[] =
141 "disable-auth-negotiate-cname-lookup"; 141 "disable-auth-negotiate-cname-lookup";
142 142
143 // Disable several subsystems which run network requests in the background.
144 // This is for use when doing network performance testing to avoid noise
145 // in the measurements.
146 const char kDisableBackgroundNetworking[] = "disable-background-networking";
147
143 // Disable limits on the number of backing stores. Can prevent blinking for 148 // Disable limits on the number of backing stores. Can prevent blinking for
144 // users with many windows/tabs and lots of memory. 149 // users with many windows/tabs and lots of memory.
145 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; 150 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit";
146 151
147 // Disable support for cached byte-ranges. 152 // Disable support for cached byte-ranges.
148 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; 153 const char kDisableByteRangeSupport[] = "disable-byte-range-support";
149 154
150 // Disable click-to-play for blocked plug-ins. 155 // Disable click-to-play for blocked plug-ins.
151 const char kDisableClickToPlay[] = "disable-click-to-play"; 156 const char kDisableClickToPlay[] = "disable-click-to-play";
152 157
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 1260
1256 // ----------------------------------------------------------------------------- 1261 // -----------------------------------------------------------------------------
1257 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1262 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1258 // 1263 //
1259 // You were going to just dump your switches here, weren't you? Instead, 1264 // You were going to just dump your switches here, weren't you? Instead,
1260 // please put them in alphabetical order above, or in order inside the 1265 // please put them in alphabetical order above, or in order inside the
1261 // appropriate ifdef at the bottom. The order should match the header. 1266 // appropriate ifdef at the bottom. The order should match the header.
1262 // ----------------------------------------------------------------------------- 1267 // -----------------------------------------------------------------------------
1263 1268
1264 } // namespace switches 1269 } // namespace switches
OLDNEW
« chrome/browser/intranet_redirect_detector.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698