Fixing redirect through DataReductionProxy logic.
Redirects through DataReductionProxy were counting as a DRP navigations/pageloads even when the new URL that was redirected to was non-DRP. This affects DRP PageLoad.* UMA and the DRP pingback. This introduces a reset_to_default method on DRPData as well as changing using original_url from URLRequest to just URL (as DRP cares more about the actual URL of the site rather than the original URL before redirects). BUG=565421 Review-Url: https://codereview.chromium.org/2326443004 Cr-Commit-Position: refs/heads/master@{#419514}
Showing
Please register or sign in to comment