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

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

Issue 3019007: Add a command line flag to change the default number of parallel DNS requests... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Address jar's comments Created 10 years, 5 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/service/net/service_url_request_context.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) 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 // Will also force the port of the resulting 503 // Will also force the port of the resulting
504 // socket address to be 77. 504 // socket address to be 77.
505 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", 505 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz",
506 // except for "www.google.com". 506 // except for "www.google.com".
507 // 507 //
508 // These mappings apply to the endpoint host in a URLRequest (the TCP connect 508 // These mappings apply to the endpoint host in a URLRequest (the TCP connect
509 // and host resolver in a direct connection, and the CONNECT in an http proxy 509 // and host resolver in a direct connection, and the CONNECT in an http proxy
510 // connection, and the endpoint host in a SOCKS proxy connection). 510 // connection, and the endpoint host in a SOCKS proxy connection).
511 const char kHostRules[] = "host-rules"; 511 const char kHostRules[] = "host-rules";
512 512
513 // These mappins only apply to the host resolver. 513 // The maximum number of concurrent host resolve requests (i.e. DNS) to allow.
514 const char kHostResolverParallelism[] = "host-resolver-parallelism";
515
516 // These mappings only apply to the host resolver.
514 const char kHostResolverRules[] = "host-resolver-rules"; 517 const char kHostResolverRules[] = "host-resolver-rules";
515 518
516 // Perform importing from another browser. The value associated with this 519 // Perform importing from another browser. The value associated with this
517 // setting encodes the target browser and what items to import. 520 // setting encodes the target browser and what items to import.
518 const char kImport[] = "import"; 521 const char kImport[] = "import";
519 522
520 // Perform bookmark importing from an HTML file. The value associated with this 523 // Perform bookmark importing from an HTML file. The value associated with this
521 // setting encodes the file path. It may be used jointly with kImport. 524 // setting encodes the file path. It may be used jointly with kImport.
522 const char kImportFromFile[] = "import-from-file"; 525 const char kImportFromFile[] = "import-from-file";
523 526
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 1113
1111 // ----------------------------------------------------------------------------- 1114 // -----------------------------------------------------------------------------
1112 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1115 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1113 // 1116 //
1114 // You were going to just dump your switches here, weren't you? Instead, 1117 // You were going to just dump your switches here, weren't you? Instead,
1115 // please put them in alphabetical order above, or in order inside the 1118 // please put them in alphabetical order above, or in order inside the
1116 // appropriate ifdef at the bottom. The order should match the header. 1119 // appropriate ifdef at the bottom. The order should match the header.
1117 // ----------------------------------------------------------------------------- 1120 // -----------------------------------------------------------------------------
1118 1121
1119 } // namespace switches 1122 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/service/net/service_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698