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

Issue 2145743002: Changing the TimeDeltas in DRPPageLoadTiming to Optional (Closed)

Created:
4 years, 5 months ago by RyanSturm
Modified:
4 years, 5 months ago
Reviewers:
Bryan McQuade, tbansal1
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changing the TimeDeltas in DRPPageLoadTiming to Optional To match the TimeDeltas in page_load_metrics, the DataReductionProxyPageLoadTiming TimeDeltas are changed to base::Optional TimeDeltas. Functionally, this will only change the case where the TimeDelta is zero. The constructor for DataReductionProxyPageLoadTiming is moved to a new cc file due to the templated variables creating a complex constructor. BUG=626040 Committed: https://crrev.com/4aaa1c3f03e522bb84b99e6bdf36a9b334865547 Cr-Commit-Position: refs/heads/master@{#405279}

Patch Set 1 #

Total comments: 5

Patch Set 2 : tbansal comments windows fix #

Patch Set 3 : nit #

Messages

Total messages: 15 (5 generated)
RyanSturm
tbansal: PTAL at * before I send it to page_load_metrics review, thanks
4 years, 5 months ago (2016-07-12 22:14:25 UTC) #2
tbansal1
https://codereview.chromium.org/2145743002/diff/1/chrome/browser/page_load_metrics/observers/data_reduction_proxy_metrics_observer_unittest.cc File chrome/browser/page_load_metrics/observers/data_reduction_proxy_metrics_observer_unittest.cc (right): https://codereview.chromium.org/2145743002/diff/1/chrome/browser/page_load_metrics/observers/data_reduction_proxy_metrics_observer_unittest.cc#newcode59 chrome/browser/page_load_metrics/observers/data_reduction_proxy_metrics_observer_unittest.cc:59: timing_.reset(new data_reduction_proxy::DataReductionProxyPageLoadTiming( Add a copy constructor to the struct? ...
4 years, 5 months ago (2016-07-12 22:58:01 UTC) #3
RyanSturm
https://codereview.chromium.org/2145743002/diff/1/chrome/browser/page_load_metrics/observers/data_reduction_proxy_metrics_observer_unittest.cc File chrome/browser/page_load_metrics/observers/data_reduction_proxy_metrics_observer_unittest.cc (right): https://codereview.chromium.org/2145743002/diff/1/chrome/browser/page_load_metrics/observers/data_reduction_proxy_metrics_observer_unittest.cc#newcode59 chrome/browser/page_load_metrics/observers/data_reduction_proxy_metrics_observer_unittest.cc:59: timing_.reset(new data_reduction_proxy::DataReductionProxyPageLoadTiming( On 2016/07/12 22:58:01, tbansal1 wrote: > Add ...
4 years, 5 months ago (2016-07-13 17:05:17 UTC) #5
tbansal1
lgtm https://codereview.chromium.org/2145743002/diff/1/components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.cc File components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.cc (right): https://codereview.chromium.org/2145743002/diff/1/components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.cc#newcode9 components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.cc:9: DataReductionProxyPageLoadTiming::DataReductionProxyPageLoadTiming( On 2016/07/13 17:05:17, RyanSturm wrote: > On ...
4 years, 5 months ago (2016-07-13 17:41:10 UTC) #6
RyanSturm
bmcquade: PTAL @ page_load_metrics/observers/data_reduction_proxy_metrics_observer*
4 years, 5 months ago (2016-07-13 17:59:04 UTC) #8
Bryan McQuade
On 2016/07/13 at 17:59:04, ryansturm wrote: > bmcquade: PTAL @ page_load_metrics/observers/data_reduction_proxy_metrics_observer* LGTM, thanks!
4 years, 5 months ago (2016-07-13 18:02:54 UTC) #9
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/2145743002/60001
4 years, 5 months ago (2016-07-13 18:36:57 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-13 20:35:36 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 20:35:57 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 20:37:36 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4aaa1c3f03e522bb84b99e6bdf36a9b334865547
Cr-Commit-Position: refs/heads/master@{#405279}

Powered by Google App Engine
This is Rietveld 408576698