Index: chrome/browser/io_thread.cc |
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc |
index 9a941068421bde291351efa486939dfaa7a84668..9dc05eebcca5258c7724ec8a9bf3a31be399d526 100644 |
--- a/chrome/browser/io_thread.cc |
+++ b/chrome/browser/io_thread.cc |
@@ -222,20 +222,6 @@ std::unique_ptr<net::HostResolver> CreateGlobalHostResolver( |
*base::CommandLine::ForCurrentProcess(); |
net::HostResolver::Options options; |
mmenke
2017/05/30 21:46:46
I'm leaving max_retry_attempts in options, though
|
- |
- // Use the retry attempts override from the command-line, if any. |
- if (command_line.HasSwitch(switches::kHostResolverRetryAttempts)) { |
- std::string s = |
- command_line.GetSwitchValueASCII(switches::kHostResolverRetryAttempts); |
- // Parse the switch (it should be a non-negative integer). |
- int n; |
- if (base::StringToInt(s, &n) && n >= 0) { |
- options.max_retry_attempts = static_cast<size_t>(n); |
- } else { |
- LOG(ERROR) << "Invalid switch for host resolver retry attempts: " << s; |
- } |
- } |
- |
std::unique_ptr<net::HostResolver> global_host_resolver; |
#if defined OS_CHROMEOS |
global_host_resolver = |