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

Issue 1814213004: Record UMA for Physical Web state (Closed)

Created:
4 years, 9 months ago by cco3
Modified:
4 years, 8 months ago
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

Record UMA for Physical Web state The "Physical Web state" refers to: * Data connection * BT permission/enablement * Location permission/provider We record this state: * At chrome startup * When launching the ListUrlsActivity from the diagnostics page * When launching the ListUrlsActivity from the preferences page BUG=594194 Committed: https://crrev.com/10cbc3ad60388fc48ebfbbd16c8d3db9872c009b Cr-Commit-Position: refs/heads/master@{#386215}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use enums correctly in histograms.xml #

Total comments: 5

Patch Set 3 : Break states into distinct metrics #

Total comments: 4

Patch Set 4 : Use histogram_suffix #

Patch Set 5 : Included utils.java in gn build #

Messages

Total messages: 37 (11 generated)
cco3
4 years, 9 months ago (2016-03-18 22:01:06 UTC) #2
mattreynolds
lgtm
4 years, 9 months ago (2016-03-18 23:17:19 UTC) #3
cco3
4 years, 9 months ago (2016-03-18 23:21:15 UTC) #5
rkaplow
https://codereview.chromium.org/1814213004/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1814213004/diff/1/tools/metrics/histograms/histograms.xml#newcode34952 tools/metrics/histograms/histograms.xml:34952: +<histogram name="PhysicalWeb.State.ChromeStart" units="PhysicalWebStateAndroid"> this should be enum=
4 years, 9 months ago (2016-03-19 17:43:02 UTC) #6
cco3
4 years, 8 months ago (2016-04-01 19:11:26 UTC) #8
rkaplow
lgtm This seems ok, but it's not great that you need to encode so many ...
4 years, 8 months ago (2016-04-04 17:31:28 UTC) #9
newt (away)
lgtm with a few suggestions. Though I also share Robert's feeling that it would be ...
4 years, 8 months ago (2016-04-05 06:24:34 UTC) #10
cco3
I was just following the pattern we had set a long time ago for our ...
4 years, 8 months ago (2016-04-05 19:04:53 UTC) #11
cco3
https://codereview.chromium.org/1814213004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java File chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java (right): https://codereview.chromium.org/1814213004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java#newcode120 chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java:120: public static void onChromeStart(ChromeApplication application) { On 2016/04/05 06:24:34, ...
4 years, 8 months ago (2016-04-07 19:29:25 UTC) #12
cco3
Any chance I could get this in before the branch cut?
4 years, 8 months ago (2016-04-08 17:51:47 UTC) #13
rkaplow
lgtm oops, forgot to send this comment. Would be good if you could get this ...
4 years, 8 months ago (2016-04-08 17:54:21 UTC) #14
newt (away)
lgtm % comment https://codereview.chromium.org/1814213004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java File chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java (right): https://codereview.chromium.org/1814213004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java#newcode65 chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java:65: private static final String PREFERENCE = ...
4 years, 8 months ago (2016-04-08 18:00:11 UTC) #15
cco3
rkaplow@, is this is what you had in mind? https://codereview.chromium.org/1814213004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java File chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java (right): https://codereview.chromium.org/1814213004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java#newcode65 chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java:65: ...
4 years, 8 months ago (2016-04-08 18:54:55 UTC) #16
rkaplow
lgtm
4 years, 8 months ago (2016-04-08 18:59:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814213004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814213004/60001
4 years, 8 months ago (2016-04-08 19:38:32 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/48135)
4 years, 8 months ago (2016-04-08 20:06:23 UTC) #22
cco3
On 2016/04/08 20:06:23, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 8 months ago (2016-04-08 20:12:17 UTC) #23
newt (away)
On 2016/04/08 20:12:17, cco3 wrote: > On 2016/04/08 20:06:23, commit-bot: I haz the power wrote: ...
4 years, 8 months ago (2016-04-08 20:36:13 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814213004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814213004/80001
4 years, 8 months ago (2016-04-08 20:40:20 UTC) #27
cco3
On 2016/04/08 20:36:13, newt (no new reviews. mostly) wrote: > On 2016/04/08 20:12:17, cco3 wrote: ...
4 years, 8 months ago (2016-04-08 20:40:56 UTC) #28
newt (away)
On 2016/04/08 20:40:56, cco3 wrote: > On 2016/04/08 20:36:13, newt (no new reviews. mostly) wrote: ...
4 years, 8 months ago (2016-04-08 20:47:16 UTC) #29
cco3
On 2016/04/08 20:47:16, newt (no new reviews. mostly) wrote: > On 2016/04/08 20:40:56, cco3 wrote: ...
4 years, 8 months ago (2016-04-08 20:52:59 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/156933)
4 years, 8 months ago (2016-04-08 20:53:57 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814213004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814213004/80001
4 years, 8 months ago (2016-04-08 21:27:06 UTC) #34
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-08 21:57:12 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 21:58:47 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/10cbc3ad60388fc48ebfbbd16c8d3db9872c009b
Cr-Commit-Position: refs/heads/master@{#386215}

Powered by Google App Engine
This is Rietveld 408576698