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

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

Issue 7289006: Basic HTTP pipelining support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit tests Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 // Enable the fastback page cache. 427 // Enable the fastback page cache.
428 const char kEnableFastback[] = "enable-fastback"; 428 const char kEnableFastback[] = "enable-fastback";
429 429
430 // By default, cookies are not allowed on file://. They are needed for 430 // By default, cookies are not allowed on file://. They are needed for
431 // testing, for example page cycler and layout tests. See bug 1157243. 431 // testing, for example page cycler and layout tests. See bug 1157243.
432 const char kEnableFileCookies[] = "enable-file-cookies"; 432 const char kEnableFileCookies[] = "enable-file-cookies";
433 433
434 // Enable the JavaScript Full Screen API. 434 // Enable the JavaScript Full Screen API.
435 const char kEnableFullScreen[] = "enable-fullscreen"; 435 const char kEnableFullScreen[] = "enable-fullscreen";
436 436
437 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will
438 // try to figure out if pipelining can be used for a given host and request.
439 // Without this flag, pipelining will never be used.
440 const char kEnableHttpPipelining[] = "enable-http-pipelining";
441
437 // Enable the in-browser thumbnailing, which is more efficient than the 442 // Enable the in-browser thumbnailing, which is more efficient than the
438 // in-renderer thumbnailing, as we can use more information to determine 443 // in-renderer thumbnailing, as we can use more information to determine
439 // if we need to update thumbnails. 444 // if we need to update thumbnails.
440 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; 445 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing";
441 446
442 // Enable IPv6 support, even if probes suggest that it may not be fully 447 // Enable IPv6 support, even if probes suggest that it may not be fully
443 // supported. Some probes may require internet connections, and this flag will 448 // supported. Some probes may require internet connections, and this flag will
444 // allow support independent of application testing. 449 // allow support independent of application testing.
445 // This flag overrides "disable-ipv6" which appears elswhere in this file. 450 // This flag overrides "disable-ipv6" which appears elswhere in this file.
446 const char kEnableIPv6[] = "enable-ipv6"; 451 const char kEnableIPv6[] = "enable-ipv6";
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 1244
1240 // ----------------------------------------------------------------------------- 1245 // -----------------------------------------------------------------------------
1241 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1246 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1242 // 1247 //
1243 // You were going to just dump your switches here, weren't you? Instead, 1248 // You were going to just dump your switches here, weren't you? Instead,
1244 // please put them in alphabetical order above, or in order inside the 1249 // please put them in alphabetical order above, or in order inside the
1245 // appropriate ifdef at the bottom. The order should match the header. 1250 // appropriate ifdef at the bottom. The order should match the header.
1246 // ----------------------------------------------------------------------------- 1251 // -----------------------------------------------------------------------------
1247 1252
1248 } // namespace switches 1253 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698