Don't report DRP request error code UMA when LOAD_BYPASS_PROXY is set.
This fixes a reporting bug with the DataReductionProxy.RequestCompletionErrorCodes histograms. Previously, these histograms counted requests that encountered errors when retrying the request after bypassing the data reduction proxy (e.g. block-once). This is incorrect because the error did not occur when trying to use the DRP. The fix is to ignore requests that completed with the LOAD_BYPASS_PROXY load flag, since these requests did not use the DRP even if the proxy_server() in the URLRequest is still set to the DRP. BUG=454947 Review URL: https://codereview.chromium.org/896793004 Cr-Commit-Position: refs/heads/master@{#314432}
Showing
Please register or sign in to comment