fix: restore --ignore-connections-limit functionality (#21286)
This commit is contained in:
parent
149aaeba94
commit
4149d76890
2 changed files with 31 additions and 1 deletions
|
@ -250,6 +250,8 @@ class ProxyingURLLoaderFactory
|
|||
void RemoveRequest(int32_t network_service_request_id, uint64_t request_id);
|
||||
void MaybeDeleteThis();
|
||||
|
||||
bool ShouldIgnoreConnectionsLimit(const network::ResourceRequest& request);
|
||||
|
||||
// Passed from api::WebRequest.
|
||||
WebRequestAPI* web_request_api_;
|
||||
|
||||
|
@ -279,6 +281,8 @@ class ProxyingURLLoaderFactory
|
|||
// internally generated request ID for the same request.
|
||||
std::map<int32_t, uint64_t> network_request_id_to_web_request_id_;
|
||||
|
||||
std::vector<std::string> ignore_connections_limit_domains_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(ProxyingURLLoaderFactory);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue