Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Issue 2326443004: Fixing redirect through DataReductionProxy logic. (Closed)

Created:
4 years, 3 months ago by RyanSturm
Modified:
4 years, 3 months ago
CC:
chromium-reviews, csharrison+watch_chromium.org, loading-reviews+metrics_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/960971fdee189de4b0879017475dd7d8bca0e659 Cr-Commit-Position: refs/heads/master@{#419514}

Patch Set 1 #

Total comments: 7

Patch Set 2 : tbansal comments #

Patch Set 3 : typo #

Total comments: 8

Patch Set 4 : tbansal comments #

Messages

Total messages: 38 (23 generated)
RyanSturm
tbansal: PTAL @ *
4 years, 3 months ago (2016-09-08 18:37:01 UTC) #4
tbansal1
https://codereview.chromium.org/2326443004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc (right): https://codereview.chromium.org/2326443004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc#newcode49 components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc:49: void DataReductionProxyData::reset_to_default() { This is a very weird function. ...
4 years, 3 months ago (2016-09-09 18:42:03 UTC) #7
RyanSturm
tbansal: I made changes, but they don't exactly line up with your comments. PTAL again, ...
4 years, 3 months ago (2016-09-09 19:37:33 UTC) #12
tbansal1
https://codereview.chromium.org/2326443004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h (right): https://codereview.chromium.org/2326443004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h#newcode50 components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h:50: void set_request_url(const GURL& request_url) { request_url_ = request_url; } ...
4 years, 3 months ago (2016-09-09 20:06:32 UTC) #13
RyanSturm
tbansal: PTAL https://codereview.chromium.org/2326443004/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h (right): https://codereview.chromium.org/2326443004/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h#newcode48 components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h:48: // The URL of the request after ...
4 years, 3 months ago (2016-09-09 20:42:20 UTC) #17
RyanSturm
bmcquade: PTAL @ data_reduction_proxy_metric_observer.*
4 years, 3 months ago (2016-09-09 20:43:53 UTC) #20
tbansal1
lgtm
4 years, 3 months ago (2016-09-09 20:54:36 UTC) #21
RyanSturm
bmcquade: PTAL @ page_load_metrics/*
4 years, 3 months ago (2016-09-13 23:31:52 UTC) #26
RyanSturm
csharrison: PTAL at page_load_metrics/* -bmcquade
4 years, 3 months ago (2016-09-19 16:43:34 UTC) #28
Charlie Harrison
page_load_metrics LGTM
4 years, 3 months ago (2016-09-19 16:50:22 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2326443004/60001
4 years, 3 months ago (2016-09-19 16:52:53 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/143821)
4 years, 3 months ago (2016-09-19 18:03:31 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2326443004/60001
4 years, 3 months ago (2016-09-19 18:08:20 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-19 18:39:33 UTC) #36
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 18:42:37 UTC) #38
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/960971fdee189de4b0879017475dd7d8bca0e659
Cr-Commit-Position: refs/heads/master@{#419514}

Powered by Google App Engine
This is Rietveld 408576698