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

Issue 2949173002: UMA for the Stale Previews timestamp (Closed)

Created:
3 years, 6 months ago by megjablon
Modified:
3 years, 6 months ago
Reviewers:
rkaplow, tbansal1
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

UMA for the Stale Previews timestamp Add UMA for whether the timestamp for a stale preview was shown on the infobar. If the timestamp was not shown, states the reason why. BUG=718643 Review-Url: https://codereview.chromium.org/2949173002 Cr-Commit-Position: refs/heads/master@{#482009} Committed: https://chromium.googlesource.com/chromium/src/+/e45bad32544069664781ca144ee7cdc96cb58490

Patch Set 1 #

Patch Set 2 : update tests #

Total comments: 13

Patch Set 3 : tbansal comments #

Patch Set 4 : rebase #

Patch Set 5 : test fix #

Total comments: 4

Patch Set 6 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -88 lines) Patch
M chrome/browser/previews/previews_infobar_delegate.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate.cc View 1 2 3 5 chunks +31 lines, -8 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate_unittest.cc View 1 2 3 4 5 27 chunks +109 lines, -78 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (31 generated)
megjablon
PTAL, thanks!
3 years, 6 months ago (2017-06-22 20:44:30 UTC) #14
tbansal1
https://codereview.chromium.org/2949173002/diff/40001/chrome/browser/previews/previews_infobar_delegate.cc File chrome/browser/previews/previews_infobar_delegate.cc (right): https://codereview.chromium.org/2949173002/diff/40001/chrome/browser/previews/previews_infobar_delegate.cc#newcode266 chrome/browser/previews/previews_infobar_delegate.cc:266: RecordStaleness(TIMESTAMP_NOT_SHOWN_PARAMS_NOT_AVAILABLE); Can this be changed to: DCHECK(min_staleness_in_minutes > 0 ...
3 years, 6 months ago (2017-06-22 21:12:16 UTC) #17
megjablon
https://codereview.chromium.org/2949173002/diff/40001/chrome/browser/previews/previews_infobar_delegate.cc File chrome/browser/previews/previews_infobar_delegate.cc (right): https://codereview.chromium.org/2949173002/diff/40001/chrome/browser/previews/previews_infobar_delegate.cc#newcode266 chrome/browser/previews/previews_infobar_delegate.cc:266: RecordStaleness(TIMESTAMP_NOT_SHOWN_PARAMS_NOT_AVAILABLE); On 2017/06/22 21:12:16, tbansal1 wrote: > Can this ...
3 years, 6 months ago (2017-06-22 23:40:11 UTC) #23
tbansal1
lgtm https://codereview.chromium.org/2949173002/diff/40001/chrome/browser/previews/previews_infobar_delegate_unittest.cc File chrome/browser/previews/previews_infobar_delegate_unittest.cc (right): https://codereview.chromium.org/2949173002/diff/40001/chrome/browser/previews/previews_infobar_delegate_unittest.cc#newcode771 chrome/browser/previews/previews_infobar_delegate_unittest.cc:771: TEST_F(PreviewsInfoBarDelegateUnitTest, PreviewInfobarTimestampMaximumUMA) { On 2017/06/22 23:40:11, megjablon wrote: ...
3 years, 6 months ago (2017-06-23 00:37:42 UTC) #24
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/2949173002/140001
3 years, 6 months ago (2017-06-23 17:35:25 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/472441)
3 years, 6 months ago (2017-06-23 17:40:16 UTC) #31
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/2949173002/140001
3 years, 6 months ago (2017-06-23 18:03:24 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/472492)
3 years, 6 months ago (2017-06-23 18:14:12 UTC) #35
megjablon
rkaplow: PTAL histograms.xml https://codereview.chromium.org/2949173002/diff/120001/chrome/browser/previews/previews_infobar_delegate_unittest.cc File chrome/browser/previews/previews_infobar_delegate_unittest.cc (right): https://codereview.chromium.org/2949173002/diff/120001/chrome/browser/previews/previews_infobar_delegate_unittest.cc#newcode189 chrome/browser/previews/previews_infobar_delegate_unittest.cc:189: std::map<std::string, std::string> variation_params) { On 2017/06/23 ...
3 years, 6 months ago (2017-06-23 18:16:14 UTC) #37
rkaplow
lgtm histogram lg
3 years, 6 months ago (2017-06-23 20:23:31 UTC) #38
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/2949173002/140001
3 years, 6 months ago (2017-06-23 20:28:26 UTC) #40
commit-bot: I haz the power
3 years, 6 months ago (2017-06-23 20:35:03 UTC) #43
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/e45bad32544069664781ca144ee7...

Powered by Google App Engine
This is Rietveld 408576698