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

Issue 1433533007: [page_load_metrics] Get navigation_start from NavigationHandle (Closed)

Created:
5 years, 1 month ago by Charlie Harrison
Modified:
5 years, 1 month ago
Reviewers:
kinuko, Bryan McQuade, clamy
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, loading-reviews+metrics_chromium.org, csharrison+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@change-names-refactor
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[page_load_metrics] Get navigation_start from NavigationHandle This change also exposes GetNavigationStart() to the public content interface, with PageLoadTracker as the first consumer. This gives us much better resolution time for events logged relative to navigation start on the browser side (backgrounding, etc.) This change is needed to implement abort timing. BUG=517209 Committed: https://crrev.com/54a2332a8a1f5299329c445f126ccbd2c7e1fef8 Cr-Commit-Position: refs/heads/master@{#360084}

Patch Set 1 #

Patch Set 2 : Update dependent patchset #

Total comments: 5

Patch Set 3 : Comment change (trybots previous) #

Patch Set 4 : Update #

Patch Set 5 : oops used the wrong upstream branch #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : navigation_start => NavigationStart #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -40 lines) Patch
M components/page_load_metrics/browser/metrics_web_contents_observer.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M components/page_load_metrics/browser/metrics_web_contents_observer.cc View 1 2 3 4 5 6 6 chunks +14 lines, -23 lines 0 comments Download
M components/page_load_metrics/browser/metrics_web_contents_observer_unittest.cc View 1 2 3 4 5 chunks +11 lines, -12 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.h View 1 2 3 4 5 6 2 chunks +1 line, -5 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/navigation_handle.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (5 generated)
Charlie Harrison
PTAL. Thanks!
5 years, 1 month ago (2015-11-06 23:03:36 UTC) #3
clamy
content/ part looks good, I will wait for nasko's review on the other CL before ...
5 years, 1 month ago (2015-11-09 13:09:53 UTC) #4
Charlie Harrison
https://codereview.chromium.org/1433533007/diff/20001/content/public/browser/navigation_handle.h File content/public/browser/navigation_handle.h (right): https://codereview.chromium.org/1433533007/diff/20001/content/public/browser/navigation_handle.h#newcode42 content/public/browser/navigation_handle.h:42: // The time the navigation started, recorded either in ...
5 years, 1 month ago (2015-11-09 18:45:10 UTC) #5
Bryan McQuade
lgtm
5 years, 1 month ago (2015-11-11 13:44:54 UTC) #7
kinuko
The new patch set (for the comments fix) is not uploaded yet? The change itself ...
5 years, 1 month ago (2015-11-12 20:35:11 UTC) #8
Charlie Harrison
kinuko@ Updated comments, thanks!
5 years, 1 month ago (2015-11-12 20:48:49 UTC) #9
Charlie Harrison
On 2015/11/12 20:48:49, csharrison wrote: > kinuko@ Updated comments, thanks! clamy@ This got a minor ...
5 years, 1 month ago (2015-11-17 00:54:00 UTC) #10
clamy
Thanks! Once the naming is changed it will be fine. https://codereview.chromium.org/1433533007/diff/100001/content/public/browser/navigation_handle.h File content/public/browser/navigation_handle.h (right): https://codereview.chromium.org/1433533007/diff/100001/content/public/browser/navigation_handle.h#newcode44 ...
5 years, 1 month ago (2015-11-17 12:52:31 UTC) #11
Charlie Harrison
Updated, thanks! https://codereview.chromium.org/1433533007/diff/100001/content/public/browser/navigation_handle.h File content/public/browser/navigation_handle.h (right): https://codereview.chromium.org/1433533007/diff/100001/content/public/browser/navigation_handle.h#newcode44 content/public/browser/navigation_handle.h:44: virtual const base::TimeTicks& navigation_start() = 0; On ...
5 years, 1 month ago (2015-11-17 14:47:32 UTC) #12
clamy
Thanks! content/ lgtm.
5 years, 1 month ago (2015-11-17 14:49:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1433533007/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1433533007/120001
5 years, 1 month ago (2015-11-17 14:56:26 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 1 month ago (2015-11-17 16:22:14 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-11-17 16:23:54 UTC) #18
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/54a2332a8a1f5299329c445f126ccbd2c7e1fef8
Cr-Commit-Position: refs/heads/master@{#360084}

Powered by Google App Engine
This is Rietveld 408576698