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

Issue 1159023005: Log the amount of time that the RecentTabsPage is in the foreground to UMA (Closed)

Created:
5 years, 6 months ago by pkotwicz
Modified:
5 years, 6 months ago
Reviewers:
nyquist, Ilya Sherman
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log the amount of time that the RecentTabsPage is in the foreground to UMA The logged time excludes: - Time that the RecentTabsPage is open but Chrome is in the background - Time that the RecentTabsPage is open but a different tab is in the foreground BUG=477054 TEST=None Committed: https://crrev.com/766491f596a7326a098edf3c9c8526f8d3e917b8 Cr-Commit-Position: refs/heads/master@{#332661}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -5 lines) Patch
M chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java View 1 2 3 6 chunks +79 lines, -5 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
pkotwicz
nyquist@ PTAL I am unsure whether the time that the "Recent Tabs" page is in ...
5 years, 6 months ago (2015-05-30 22:20:14 UTC) #3
nyquist
On 2015/05/30 22:20:14, pkotwicz wrote: > nyquist@ PTAL > > I am unsure whether the ...
5 years, 6 months ago (2015-06-01 14:09:06 UTC) #4
nyquist
https://codereview.chromium.org/1159023005/diff/20001/chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java File chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java (right): https://codereview.chromium.org/1159023005/diff/20001/chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java#newcode91 chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java:91: // |mInForeground| will be updated once |mView| is attached ...
5 years, 6 months ago (2015-06-01 14:09:13 UTC) #5
pkotwicz
nyquist@ can you please take another look? https://codereview.chromium.org/1159023005/diff/20001/chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java File chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java (right): https://codereview.chromium.org/1159023005/diff/20001/chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java#newcode116 chrome/android/java_staging/src/org/chromium/chrome/browser/ntp/RecentTabsPage.java:116: mForegroundTimeMs = ...
5 years, 6 months ago (2015-06-01 17:18:45 UTC) #6
nyquist
lgtm
5 years, 6 months ago (2015-06-01 21:07:35 UTC) #7
pkotwicz
isherman@ for tools/metrics
5 years, 6 months ago (2015-06-01 21:38:15 UTC) #9
Ilya Sherman
https://codereview.chromium.org/1159023005/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1159023005/diff/40001/tools/metrics/histograms/histograms.xml#newcode32687 tools/metrics/histograms/histograms.xml:32687: +<histogram name="RecentsTabsPage.TimeVisibleAndroid" units="milliseconds"> It looks like you're introducing a ...
5 years, 6 months ago (2015-06-01 21:46:43 UTC) #10
pkotwicz
isherman@ can you please take another look? https://codereview.chromium.org/1159023005/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1159023005/diff/40001/tools/metrics/histograms/histograms.xml#newcode32687 tools/metrics/histograms/histograms.xml:32687: +<histogram name="RecentsTabsPage.TimeVisibleAndroid" ...
5 years, 6 months ago (2015-06-02 15:35:44 UTC) #13
nyquist
https://codereview.chromium.org/1159023005/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1159023005/diff/100001/tools/metrics/histograms/histograms.xml#newcode32744 tools/metrics/histograms/histograms.xml:32744: +<histogram name="RecentTabsPage.TimeVisibleAndroid" units="milliseconds"> Given Recent Tabs is a subpage, ...
5 years, 6 months ago (2015-06-02 16:36:03 UTC) #14
pkotwicz
https://codereview.chromium.org/1159023005/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1159023005/diff/100001/tools/metrics/histograms/histograms.xml#newcode32744 tools/metrics/histograms/histograms.xml:32744: +<histogram name="RecentTabsPage.TimeVisibleAndroid" units="milliseconds"> NewTabPage.RecentTabsPageTimeVisibleAndroid is too long for my ...
5 years, 6 months ago (2015-06-02 17:13:52 UTC) #15
Ilya Sherman
https://codereview.chromium.org/1159023005/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1159023005/diff/40001/tools/metrics/histograms/histograms.xml#newcode32687 tools/metrics/histograms/histograms.xml:32687: +<histogram name="RecentsTabsPage.TimeVisibleAndroid" units="milliseconds"> On 2015/06/02 15:35:43, pkotwicz wrote: > ...
5 years, 6 months ago (2015-06-02 19:10:51 UTC) #16
pkotwicz
isherman@ can you please take another look? I was thinking of this as a one-off ...
5 years, 6 months ago (2015-06-02 22:55:43 UTC) #17
Ilya Sherman
LGTM, thanks.
5 years, 6 months ago (2015-06-02 22:58:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159023005/120001
5 years, 6 months ago (2015-06-03 15:11:31 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:120001)
5 years, 6 months ago (2015-06-03 19:20:56 UTC) #22
commit-bot: I haz the power
5 years, 6 months ago (2015-06-03 19:22:53 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/766491f596a7326a098edf3c9c8526f8d3e917b8
Cr-Commit-Position: refs/heads/master@{#332661}

Powered by Google App Engine
This is Rietveld 408576698