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

Issue 246553003: Record Mobile Operator ID in UMA report. This is Android only for now. (Closed)

Created:
6 years, 8 months ago by bolian
Modified:
6 years, 7 months ago
CC:
chromium-reviews, jar (doing other things), asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@operator_id
Visibility:
Public.

Description

Record Mobile Operator ID in UMA report. This is Android only for now. See the linked bug for more background info. Adding this field has been approved by privacy team (see #5 in the linked bug). This CL depends on https://codereview.chromium.org/238793007/ BUG=355604 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268731

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : addressed comments. #

Total comments: 7

Patch Set 4 : revert proto change and emit a new histogram #

Patch Set 5 : . #

Total comments: 8

Patch Set 6 : addressed comments. #

Total comments: 1

Patch Set 7 : log on connection type change. #

Patch Set 8 : . #

Total comments: 2

Patch Set 9 : addressed comments. #

Patch Set 10 : . #

Patch Set 11 : log non-mobile code as well. #

Total comments: 4

Patch Set 12 : addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M net/base/network_change_notifier.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +24 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (0 generated)
bolian
Hello Jim, Alex and Ben, Please review this CL that adds operator ID into the ...
6 years, 8 months ago (2014-04-22 18:09:06 UTC) #1
Ilya Sherman
Can you record this data as a histogram rather than including it in the systemprofile ...
6 years, 8 months ago (2014-04-22 20:50:53 UTC) #2
bolian
The purpose is to associate this data with existing histograms, for example, histograms for data ...
6 years, 8 months ago (2014-04-22 20:59:26 UTC) #3
bolian
ping?
6 years, 8 months ago (2014-04-23 16:43:38 UTC) #4
Alexei Svitkine (slow)
Some questions for you below. By the way, before this can land in Chromium, you ...
6 years, 8 months ago (2014-04-23 16:54:11 UTC) #5
bolian
I should have mentioned this in the description. Yes, the privacy team has agreed to ...
6 years, 8 months ago (2014-04-23 17:29:39 UTC) #6
Alexei Svitkine (slow)
At minimum, the server-side changes would be to update the protos. If you want the ...
6 years, 8 months ago (2014-04-23 17:58:49 UTC) #7
bolian
We don't need a dashboard for this. Our cron job will pick up the proto ...
6 years, 8 months ago (2014-04-24 00:59:23 UTC) #8
Ilya Sherman
I still think that it would be more appropriate to emit to a histogram for ...
6 years, 8 months ago (2014-04-24 02:20:46 UTC) #9
bolian
Do you mean log the value each time the network changes in a histogram say, ...
6 years, 8 months ago (2014-04-24 04:39:31 UTC) #10
Ilya Sherman
On 2014/04/24 04:39:31, bolian wrote: > Do you mean log the value each time the ...
6 years, 8 months ago (2014-04-24 05:19:32 UTC) #11
bolian
>> If you happen to see the user switch networks during a single recording >> ...
6 years, 8 months ago (2014-04-24 05:53:24 UTC) #12
Ilya Sherman
On 2014/04/24 05:53:24, bolian wrote: > >> If you happen to see the user switch ...
6 years, 8 months ago (2014-04-24 06:29:47 UTC) #13
bolian
Got it. Thanks for explaining this. However, it is still not clear to me why ...
6 years, 8 months ago (2014-04-24 20:34:47 UTC) #14
Ilya Sherman
On 2014/04/24 20:34:47, bolian wrote: > However, it is still not clear to me why ...
6 years, 8 months ago (2014-04-24 23:01:09 UTC) #15
bolian
Thanks, Ilya. This sounds good. I can work on the change to emit a histogram. ...
6 years, 8 months ago (2014-04-25 17:52:57 UTC) #16
Ilya Sherman
On 2014/04/25 17:52:57, bolian wrote: > Thanks, Ilya. This sounds good. I can work on ...
6 years, 8 months ago (2014-04-25 17:56:00 UTC) #17
bolian
The MCC and MNC list is large (http://en.wikipedia.org/wiki/Mobile_country_code) We can log MCC and MNC separately, ...
6 years, 8 months ago (2014-04-25 18:46:18 UTC) #18
Ilya Sherman
On 2014/04/25 18:46:18, bolian wrote: > The MCC and MNC list is large (http://en.wikipedia.org/wiki/Mobile_country_code) > ...
6 years, 8 months ago (2014-04-25 18:59:05 UTC) #19
bengr
https://codereview.chromium.org/246553003/diff/40001/chrome/browser/metrics/metrics_network_observer.cc File chrome/browser/metrics/metrics_network_observer.cc (right): https://codereview.chromium.org/246553003/diff/40001/chrome/browser/metrics/metrics_network_observer.cc#newcode21 chrome/browser/metrics/metrics_network_observer.cc:21: return device_info.GetNetworkOperator(); Sorry to have not caught this in ...
6 years, 8 months ago (2014-04-25 20:39:40 UTC) #20
bolian
Hi Ilya, Alexei, and Ben, I reverted the proto change and added the ID as ...
6 years, 8 months ago (2014-04-25 23:33:04 UTC) #21
Ilya Sherman
https://codereview.chromium.org/246553003/diff/80001/net/base/network_change_notifier.cc File net/base/network_change_notifier.cc (right): https://codereview.chromium.org/246553003/diff/80001/net/base/network_change_notifier.cc#newcode263 net/base/network_change_notifier.cc:263: // MCC and MNC codes are each 3 digits. ...
6 years, 8 months ago (2014-04-26 02:29:12 UTC) #22
bolian
https://codereview.chromium.org/246553003/diff/80001/net/base/network_change_notifier.cc File net/base/network_change_notifier.cc (right): https://codereview.chromium.org/246553003/diff/80001/net/base/network_change_notifier.cc#newcode263 net/base/network_change_notifier.cc:263: // MCC and MNC codes are each 3 digits. ...
6 years, 7 months ago (2014-04-28 18:07:54 UTC) #23
Ilya Sherman
Histograms LGTM with the inline comment addressed. Thanks! https://codereview.chromium.org/246553003/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/246553003/diff/100001/tools/metrics/histograms/histograms.xml#newcode10588 tools/metrics/histograms/histograms.xml:10588: + ...
6 years, 7 months ago (2014-04-28 21:27:17 UTC) #24
bolian
Thanks. I updated the CL to log the UMA on connection type change instead of ...
6 years, 7 months ago (2014-04-28 22:39:17 UTC) #25
bolian
Hi Misha, Could you take a look at the net/ part of the change? Also, ...
6 years, 7 months ago (2014-04-28 22:49:44 UTC) #26
mef
lgtm
6 years, 7 months ago (2014-04-29 15:55:02 UTC) #27
mef
+pauljensen, FYI as possibly relevant to your project. -m
6 years, 7 months ago (2014-04-29 15:56:36 UTC) #28
Alexei Svitkine (slow)
https://codereview.chromium.org/246553003/diff/140001/net/base/network_change_notifier.cc File net/base/network_change_notifier.cc (right): https://codereview.chromium.org/246553003/diff/140001/net/base/network_change_notifier.cc#newcode240 net/base/network_change_notifier.cc:240: int value = atoi(mcc_mnc.c_str()); Nit: Use StringToUint() from base/strings/string_number_conversions.h ...
6 years, 7 months ago (2014-04-29 16:35:44 UTC) #29
bolian
https://codereview.chromium.org/246553003/diff/140001/net/base/network_change_notifier.cc File net/base/network_change_notifier.cc (right): https://codereview.chromium.org/246553003/diff/140001/net/base/network_change_notifier.cc#newcode240 net/base/network_change_notifier.cc:240: int value = atoi(mcc_mnc.c_str()); On 2014/04/29 16:35:44, Alexei Svitkine ...
6 years, 7 months ago (2014-04-29 17:36:43 UTC) #30
Alexei Svitkine (slow)
lgtm
6 years, 7 months ago (2014-04-29 19:10:16 UTC) #31
bolian
6 years, 7 months ago (2014-04-29 22:40:54 UTC) #32
Matt Welsh
As the primary user of this data, I'm not too happy about this being made ...
6 years, 7 months ago (2014-04-29 22:55:12 UTC) #33
Ilya Sherman
On 2014/04/29 22:55:12, Matt Welsh wrote: > As the primary user of this data, I'm ...
6 years, 7 months ago (2014-05-01 01:26:36 UTC) #34
Matt Welsh
I may be unclear on what you have in mind in terms of how I ...
6 years, 7 months ago (2014-05-01 18:27:19 UTC) #35
Alexei Svitkine (slow)
It should be possible to make a histogram that's logged on every UMA upload. That ...
6 years, 7 months ago (2014-05-01 18:32:43 UTC) #36
Matt Welsh
On 2014/05/01 18:32:43, Alexei Svitkine wrote: > It should be possible to make a histogram ...
6 years, 7 months ago (2014-05-01 18:34:46 UTC) #37
Ilya Sherman
On 2014/05/01 18:34:46, Matt Welsh wrote: > On 2014/05/01 18:32:43, Alexei Svitkine wrote: > > ...
6 years, 7 months ago (2014-05-01 18:39:55 UTC) #38
Matt Welsh
On 2014/05/01 18:39:55, Ilya Sherman wrote: > On 2014/05/01 18:34:46, Matt Welsh wrote: > > ...
6 years, 7 months ago (2014-05-01 19:01:10 UTC) #39
Ilya Sherman
On 2014/05/01 19:01:10, Matt Welsh wrote: > On 2014/05/01 18:39:55, Ilya Sherman wrote: > > ...
6 years, 7 months ago (2014-05-01 19:08:42 UTC) #40
Matt Welsh
On 2014/05/01 19:08:42, Ilya Sherman wrote: > On 2014/05/01 19:01:10, Matt Welsh wrote: > > ...
6 years, 7 months ago (2014-05-01 19:09:50 UTC) #41
Ilya Sherman
On 2014/05/01 19:09:50, Matt Welsh wrote: > On 2014/05/01 19:08:42, Ilya Sherman wrote: > > ...
6 years, 7 months ago (2014-05-01 19:12:00 UTC) #42
chromium-reviews
OK, I thought there was a comment above about only including certain carriers and not ...
6 years, 7 months ago (2014-05-01 19:25:41 UTC) #43
bolian
I want to pointed out that this CL by itself is not complete, it is ...
6 years, 7 months ago (2014-05-01 20:38:42 UTC) #44
bolian
As discussed in the meeting, I now also log the operator code when it is ...
6 years, 7 months ago (2014-05-05 20:58:06 UTC) #45
Alexei Svitkine (slow)
lgtm
6 years, 7 months ago (2014-05-05 20:59:48 UTC) #46
bengr
https://codereview.chromium.org/246553003/diff/190001/net/base/network_change_notifier.cc File net/base/network_change_notifier.cc (right): https://codereview.chromium.org/246553003/diff/190001/net/base/network_change_notifier.cc#newcode8 net/base/network_change_notifier.cc:8: #include "base/metrics/sparse_histogram.h" Move these to the #if defined(OS_ANDROID) below. ...
6 years, 7 months ago (2014-05-05 21:57:57 UTC) #47
bolian
https://codereview.chromium.org/246553003/diff/190001/net/base/network_change_notifier.cc File net/base/network_change_notifier.cc (right): https://codereview.chromium.org/246553003/diff/190001/net/base/network_change_notifier.cc#newcode8 net/base/network_change_notifier.cc:8: #include "base/metrics/sparse_histogram.h" On 2014/05/05 21:57:58, bengr1 wrote: > Move ...
6 years, 7 months ago (2014-05-05 22:18:20 UTC) #48
bengr
lgtm
6 years, 7 months ago (2014-05-06 17:02:24 UTC) #49
bolian
The CQ bit was checked by bolian@chromium.org
6 years, 7 months ago (2014-05-06 17:06:08 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bolian@chromium.org/246553003/210001
6 years, 7 months ago (2014-05-06 17:06:59 UTC) #51
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 08:09:22 UTC) #52
commit-bot: I haz the power
6 years, 7 months ago (2014-05-07 13:43:08 UTC) #53
Message was sent while issue was closed.
Change committed as 268731

Powered by Google App Engine
This is Rietveld 408576698