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

Issue 211663004: Cards Clicked Metrics (Closed)

Created:
6 years, 9 months ago by robliao
Modified:
6 years, 8 months ago
CC:
chromium-reviews, arv+watch_chromium.org, asvitkine+watch_chromium.org, jar (doing other things)
Visibility:
Public.

Description

Cards Clicked Metrics Provides metrics on the types of cards clicked. BUG=164227 R=isherman@chromium.org, skare@chromium.org, xiyuan@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260028

Patch Set 1 #

Total comments: 2

Patch Set 2 : Increase Total #

Total comments: 10

Patch Set 3 : CR Feedback #

Patch Set 4 : Use the new sparse histogram support. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -25 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 2 3 4 chunks +51 lines, -16 lines 0 comments Download
M chrome/browser/resources/google_now/background_unittest.gtestjs View 3 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/resources/google_now/cards.js View 3 chunks +7 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
robliao
6 years, 9 months ago (2014-03-25 23:21:13 UTC) #1
robliao
6 years, 9 months ago (2014-03-25 23:53:10 UTC) #2
skare_
lgtm https://codereview.chromium.org/211663004/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/211663004/diff/1/chrome/browser/resources/google_now/background.js#newcode269 chrome/browser/resources/google_now/background.js:269: chrome.metricsPrivate.recordValue(metricDescription, cardTypeId); Should we range-check cardTypeId<=CARD_TYPES_TOTAL here? I ...
6 years, 9 months ago (2014-03-25 23:55:38 UTC) #3
robliao
isherman@chromium.org: Please review changes in tools/metrics/histograms/histograms.xml Thanks! https://codereview.chromium.org/211663004/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/211663004/diff/1/chrome/browser/resources/google_now/background.js#newcode269 chrome/browser/resources/google_now/background.js:269: chrome.metricsPrivate.recordValue(metricDescription, cardTypeId); ...
6 years, 9 months ago (2014-03-26 00:25:59 UTC) #4
Ilya Sherman
https://codereview.chromium.org/211663004/diff/30001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/211663004/diff/30001/chrome/browser/resources/google_now/background.js#newcode238 chrome/browser/resources/google_now/background.js:238: var CARD_TYPES_TOTAL = 300; Hmm, can you use a ...
6 years, 9 months ago (2014-03-26 00:32:50 UTC) #5
robliao
https://codereview.chromium.org/211663004/diff/30001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/211663004/diff/30001/chrome/browser/resources/google_now/background.js#newcode238 chrome/browser/resources/google_now/background.js:238: var CARD_TYPES_TOTAL = 300; Got docs on how to ...
6 years, 9 months ago (2014-03-26 00:42:52 UTC) #6
Ilya Sherman
https://codereview.chromium.org/211663004/diff/30001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/211663004/diff/30001/chrome/browser/resources/google_now/background.js#newcode238 chrome/browser/resources/google_now/background.js:238: var CARD_TYPES_TOTAL = 300; You might need to expand ...
6 years, 9 months ago (2014-03-26 03:55:40 UTC) #7
robliao
https://codereview.chromium.org/211663004/diff/30001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/211663004/diff/30001/chrome/browser/resources/google_now/background.js#newcode238 chrome/browser/resources/google_now/background.js:238: var CARD_TYPES_TOTAL = 300; Done. https://codereview.chromium.org/213433003/ On 2014/03/26 03:55:41, ...
6 years, 9 months ago (2014-03-27 00:51:51 UTC) #8
Ilya Sherman
Histograms LGTM, thanks.
6 years, 9 months ago (2014-03-27 06:17:21 UTC) #9
robliao
xiyuan: Please provide owner approval for the following files. Thanks! chrome/browser/resources/google_now/background.js chrome/browser/resources/google_now/background_unittest.gtestjs chrome/browser/resources/google_now/cards.js
6 years, 9 months ago (2014-03-27 17:02:05 UTC) #10
xiyuan
LGTM Why CL description says "Provides telemetry"? Shound't it be "Provide metrics"?
6 years, 9 months ago (2014-03-27 17:33:07 UTC) #11
robliao
On 2014/03/27 17:33:07, xiyuan wrote: > LGTM > > Why CL description says "Provides telemetry"? ...
6 years, 9 months ago (2014-03-27 17:33:48 UTC) #12
robliao
On 2014/03/27 17:33:48, robliao wrote: > On 2014/03/27 17:33:07, xiyuan wrote: > > LGTM > ...
6 years, 9 months ago (2014-03-27 18:22:44 UTC) #13
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 9 months ago (2014-03-27 18:43:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/211663004/160001
6 years, 9 months ago (2014-03-27 18:45:35 UTC) #15
robliao
The CQ bit was unchecked by robliao@chromium.org
6 years, 9 months ago (2014-03-27 22:08:56 UTC) #16
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 9 months ago (2014-03-27 22:08:59 UTC) #17
robliao
The CQ bit was unchecked by robliao@chromium.org
6 years, 9 months ago (2014-03-27 23:11:33 UTC) #18
robliao
6 years, 9 months ago (2014-03-27 23:26:07 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 manually as r260028 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698