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

Issue 2037213002: Switch OfflinePages UMA to use currentTimeMillis, persist task (Closed)

Created:
4 years, 6 months ago by Pete Williamson
Modified:
4 years, 6 months ago
Reviewers:
dougarnett, dewittj
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch to currentTimeMillis, persist task Since we are persisting our GCM Network Manager task across reboots, we need to switch to a type of time that will work reliably across reboots. We consisered SystemClock.elapsedRealtime, but we think that bad UMA samples will be more likely from reboots than the user adjusting wall clock time. BUG=612325 Committed: https://crrev.com/4667f21d36db6c8bb92a7f4b2dc4eced06f1bea4 Cr-Commit-Position: refs/heads/master@{#397877}

Patch Set 1 #

Total comments: 10

Patch Set 2 : CR fixes per DewittJ and DougArnett #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java View 1 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Pete Williamson
Splitting out the time and persistence part of this changelist.
4 years, 6 months ago (2016-06-03 21:57:10 UTC) #2
dewittj
Thanks for pulling this out! lgtm with nits https://codereview.chromium.org/2037213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java File chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java (left): https://codereview.chromium.org/2037213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java#oldcode5 chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java:5: package ...
4 years, 6 months ago (2016-06-03 22:02:47 UTC) #3
dougarnett
lgtm with naming comments https://codereview.chromium.org/2037213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java File chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java (right): https://codereview.chromium.org/2037213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java#newcode208 chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java:208: public static void recordWakeupUMA(Context context, ...
4 years, 6 months ago (2016-06-03 22:45:50 UTC) #4
Pete Williamson
https://codereview.chromium.org/2037213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java File chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java (left): https://codereview.chromium.org/2037213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java#oldcode5 chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundScheduler.java:5: package org.chromium.chrome.browser.offlinepages; On 2016/06/03 22:02:46, dewittj wrote: > nit: ...
4 years, 6 months ago (2016-06-03 23:42:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2037213002/20001
4 years, 6 months ago (2016-06-03 23:43:07 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-04 01:05:18 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-04 01:06:52 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4667f21d36db6c8bb92a7f4b2dc4eced06f1bea4
Cr-Commit-Position: refs/heads/master@{#397877}

Powered by Google App Engine
This is Rietveld 408576698