forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Misc cleanup for HostResolver::Options
*Rename to ManagerOptions to better clarify the purpose of the struct. *Move GetDispatcherLimits() into host_resolver_manager.cc::anonymous to make Options actually PoD. *Set default values directly on fields to simplify construction. *Move related constants into Options. *Rename |max_retry_attempts| -> |max_system_retry_attempts| to clarify that it only affects the system resolver. Motivation is to simplify and improve things before adding to Options to assist with removing manager configuration from ContextHostResolver. Slightly counter-intuitively to its purpose, leaving the struct in HostResolver instead of moving to HostResolverManager. It still gets passed through HostResolver methods on creation of standalone resolvers and if the struct is used in both places, HostResolver is the more common place to put it. Bug: 934402 Change-Id: I251b71ec889691a616b2908d2d258cd53c3f9aa9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1577852 Commit-Queue: Eric Orth <ericorth@chromium.org> Reviewed-by: Luke Halliwell <halliwell@chromium.org> Reviewed-by: Asanka Herath <asanka@chromium.org> Cr-Commit-Position: refs/heads/master@{#653803}
- Loading branch information
Eric Orth
authored and
Commit Bot
committed
Apr 24, 2019
1 parent
a33f139
commit 4d635c1
Showing
22 changed files
with
139 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.