Prevent imbalanced keepalive counts in ProcessManager
URLRequests can be canceled (e.g. on destruction) before they're ever started, meaning that a NetworkDelegate may be notified of request completion without ever being notified of request start. extensions::ProcessManager was making the incorrect assumption that this couldn't happen (i.e. that a completion notification must always follow a corresponding start notification), and was indiscriminately decrementing keepalive count on all URLRequest completion notifications. This CL fixes the glitch. BUG=535716 R=rdevlin.cronin@chromium.org Review URL: https://codereview.chromium.org/1366393002 Cr-Commit-Position: refs/heads/master@{#351198}
Showing
Please register or sign in to comment