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

Issue 2415703005: Refine NetworkTimeTracker histograms (Closed)

Created:
4 years, 2 months ago by estark
Modified:
4 years, 2 months ago
Reviewers:
jwd, meacer, mab
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refine NetworkTimeTracker histograms For a large percentage of CERT_DATE_INVALID errors, network time is not available due to no sync, despite an attempt to query for network time sync as early as possible in browser startup. This CL modifies/adds UMA histograms to answer two questions: 1. What is the latency of network time fetches? (i.e. would it be feasible to wait to show the interstitial until a network time query has completed?) 2. When network time is unavailable due to no sync, is it because a query hasn't been attempted yet, or because all prior query attempts have failed, or perhaps because the first query attempt hasn't completed yet? BUG=589700 Committed: https://crrev.com/53c2e7691edb00c873db5c6e76a12c96f0c44aee Cr-Commit-Position: refs/heads/master@{#425475}

Patch Set 1 #

Total comments: 6

Patch Set 2 : mab comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -21 lines) Patch
M components/network_time/network_time_tracker.h View 1 2 chunks +18 lines, -2 lines 0 comments Download
M components/network_time/network_time_tracker.cc View 1 5 chunks +22 lines, -2 lines 0 comments Download
M components/network_time/network_time_tracker_unittest.cc View 1 10 chunks +65 lines, -9 lines 0 comments Download
M components/ssl_errors/error_classification.cc View 3 chunks +32 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +27 lines, -1 line 0 comments Download

Messages

Total messages: 21 (12 generated)
estark
jwd: can you please review histograms.xml? mab + meacer: can you please review components/network_time and ...
4 years, 2 months ago (2016-10-14 05:43:22 UTC) #4
mab
lgtm https://codereview.chromium.org/2415703005/diff/1/components/network_time/network_time_tracker.cc File components/network_time/network_time_tracker.cc (right): https://codereview.chromium.org/2415703005/diff/1/components/network_time/network_time_tracker.cc#newcode487 components/network_time/network_time_tracker.cc:487: if (!UpdateTimeFromResponse()) { // On error, back off. ...
4 years, 2 months ago (2016-10-14 06:35:02 UTC) #7
mab
lgtm
4 years, 2 months ago (2016-10-14 06:35:03 UTC) #8
estark
https://codereview.chromium.org/2415703005/diff/1/components/network_time/network_time_tracker.cc File components/network_time/network_time_tracker.cc (right): https://codereview.chromium.org/2415703005/diff/1/components/network_time/network_time_tracker.cc#newcode487 components/network_time/network_time_tracker.cc:487: if (!UpdateTimeFromResponse()) { // On error, back off. On ...
4 years, 2 months ago (2016-10-14 07:23:46 UTC) #11
jwd
Histograms lgtm
4 years, 2 months ago (2016-10-14 15:27:16 UTC) #14
meacer
Lgtm
4 years, 2 months ago (2016-10-14 21:25:39 UTC) #15
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/2415703005/20001
4 years, 2 months ago (2016-10-14 21:34:22 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-14 21:41:53 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 21:43:33 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/53c2e7691edb00c873db5c6e76a12c96f0c44aee
Cr-Commit-Position: refs/heads/master@{#425475}

Powered by Google App Engine
This is Rietveld 408576698