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

Issue 103893005: Include external touchscreen vid/pid in UMA hardware profile (Closed)

Created:
7 years ago by tdresser
Modified:
6 years, 11 months ago
Reviewers:
sadrul, Ilya Sherman
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org, Rick Byers, Sumit
Visibility:
Public.

Description

Include external touchscreen vid/pid in UMA hardware profile Previously we looked at including the touchscreen name in the UMA hardware profile: https://codereview.chromium.org/23619085/. As that posed a privacy concern, this patch includes the vid/pid instead. BUG=248910 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244210

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address sadrul's comments. #

Total comments: 10

Patch Set 3 : Address sadrul's comments, add is_touchscreen_present. #

Total comments: 7

Patch Set 4 : Address isherman's comments. #

Patch Set 5 : Improve robustness of determining if internal display supports touch #

Patch Set 6 : Only record internal display on Chrome OS. #

Total comments: 2

Patch Set 7 : Fix comment capitalization #

Total comments: 8

Patch Set 8 : Address feedback, and fix a comment with vid/pid flipped. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -1 line) Patch
M chrome/browser/metrics/metrics_log.cc View 1 2 3 4 5 6 4 chunks +18 lines, -0 lines 0 comments Download
M chrome/common/metrics/proto/system_profile.proto View 1 2 3 4 5 6 7 2 chunks +14 lines, -1 line 0 comments Download
M ui/events/event_utils.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/event_utils.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/x/touch_factory_x11.h View 1 2 3 4 5 chunks +14 lines, -0 lines 0 comments Download
M ui/events/x/touch_factory_x11.cc View 1 2 3 4 5 6 7 4 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
tdresser
sadrul, can you take a look at ui/**? isherman, can you take a look at ...
7 years ago (2013-12-12 17:42:18 UTC) #1
sadrul
https://codereview.chromium.org/103893005/diff/1/ui/events/x/touch_factory_x11.cc File ui/events/x/touch_factory_x11.cc (right): https://codereview.chromium.org/103893005/diff/1/ui/events/x/touch_factory_x11.cc#newcode292 ui/events/x/touch_factory_x11.cc:292: touchscreen_ids_.insert(std::make_pair(ptr[0], ptr[1])); How do you interpret these numbers? https://codereview.chromium.org/103893005/diff/1/ui/events/x/touch_factory_x11.h ...
7 years ago (2013-12-12 18:22:19 UTC) #2
tdresser
https://codereview.chromium.org/103893005/diff/1/ui/events/x/touch_factory_x11.cc File ui/events/x/touch_factory_x11.cc (right): https://codereview.chromium.org/103893005/diff/1/ui/events/x/touch_factory_x11.cc#newcode292 ui/events/x/touch_factory_x11.cc:292: touchscreen_ids_.insert(std::make_pair(ptr[0], ptr[1])); On 2013/12/12 18:22:19, sadrul wrote: > How ...
7 years ago (2013-12-12 19:05:00 UTC) #3
Yufeng Shen (Slow to review)
On 2013/12/12 19:05:00, tdresser wrote: > https://codereview.chromium.org/103893005/diff/1/ui/events/x/touch_factory_x11.cc > File ui/events/x/touch_factory_x11.cc (right): > > https://codereview.chromium.org/103893005/diff/1/ui/events/x/touch_factory_x11.cc#newcode292 > ...
7 years ago (2013-12-12 19:14:41 UTC) #4
tdresser
On 2013/12/12 19:14:41, Yufeng Shen wrote: > On 2013/12/12 19:05:00, tdresser wrote: > > > ...
7 years ago (2013-12-12 19:24:19 UTC) #5
sadrul
https://codereview.chromium.org/103893005/diff/20001/ui/events/x/touch_factory_x11.cc File ui/events/x/touch_factory_x11.cc (right): https://codereview.chromium.org/103893005/diff/20001/ui/events/x/touch_factory_x11.cc#newcode11 ui/events/x/touch_factory_x11.cc:11: #include <X11/Xatom.h> sort https://codereview.chromium.org/103893005/diff/20001/ui/events/x/touch_factory_x11.cc#newcode139 ui/events/x/touch_factory_x11.cc:139: touch_device_lookup_[devinfo->deviceid] = true; It ...
7 years ago (2013-12-12 19:28:58 UTC) #6
tdresser
https://codereview.chromium.org/103893005/diff/20001/ui/events/x/touch_factory_x11.cc File ui/events/x/touch_factory_x11.cc (right): https://codereview.chromium.org/103893005/diff/20001/ui/events/x/touch_factory_x11.cc#newcode11 ui/events/x/touch_factory_x11.cc:11: #include <X11/Xatom.h> On 2013/12/12 19:28:59, sadrul wrote: > sort ...
7 years ago (2013-12-12 21:24:22 UTC) #7
Ilya Sherman
You'll need to commit the .proto changes to google3 prior to landing this CL. Feel ...
7 years ago (2013-12-12 22:49:43 UTC) #8
tdresser
Thanks, I'll take a look at making the google3 change. https://codereview.chromium.org/103893005/diff/40001/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): https://codereview.chromium.org/103893005/diff/40001/chrome/browser/metrics/metrics_log.cc#newcode392 ...
7 years ago (2013-12-13 15:29:00 UTC) #9
tdresser
On 2013/12/13 15:29:00, tdresser wrote: > Thanks, I'll take a look at making the google3 ...
7 years ago (2013-12-13 15:54:15 UTC) #10
tdresser
7 years ago (2013-12-13 20:03:22 UTC) #11
Ilya Sherman
Thanks, LG. Happy to officially approve once the google3 CL lands. https://codereview.chromium.org/103893005/diff/100001/chrome/common/metrics/proto/system_profile.proto File chrome/common/metrics/proto/system_profile.proto (right): ...
7 years ago (2013-12-14 00:12:12 UTC) #12
tdresser
https://codereview.chromium.org/103893005/diff/100001/chrome/common/metrics/proto/system_profile.proto File chrome/common/metrics/proto/system_profile.proto (right): https://codereview.chromium.org/103893005/diff/100001/chrome/common/metrics/proto/system_profile.proto#newcode226 chrome/common/metrics/proto/system_profile.proto:226: // vendor ids and product ids of external touchscreens. ...
6 years, 11 months ago (2014-01-06 15:44:45 UTC) #13
tdresser
On 2014/01/06 15:44:45, tdresser wrote: > https://codereview.chromium.org/103893005/diff/100001/chrome/common/metrics/proto/system_profile.proto > File chrome/common/metrics/proto/system_profile.proto (right): > > https://codereview.chromium.org/103893005/diff/100001/chrome/common/metrics/proto/system_profile.proto#newcode226 > ...
6 years, 11 months ago (2014-01-08 19:36:06 UTC) #14
Ilya Sherman
Thanks! Metrics changes LGTM with a nit: https://codereview.chromium.org/103893005/diff/110001/chrome/common/metrics/proto/system_profile.proto File chrome/common/metrics/proto/system_profile.proto (right): https://codereview.chromium.org/103893005/diff/110001/chrome/common/metrics/proto/system_profile.proto#newcode229 chrome/common/metrics/proto/system_profile.proto:229: optional uint32 ...
6 years, 11 months ago (2014-01-08 21:45:32 UTC) #15
sadrul
https://codereview.chromium.org/103893005/diff/110001/ui/events/x/touch_factory_x11.cc File ui/events/x/touch_factory_x11.cc (right): https://codereview.chromium.org/103893005/diff/110001/ui/events/x/touch_factory_x11.cc#newcode282 ui/events/x/touch_factory_x11.cc:282: static const char* kDeviceProductIdString = "Device Product ID"; (non-static) ...
6 years, 11 months ago (2014-01-09 13:04:24 UTC) #16
sadrul
LGTM
6 years, 11 months ago (2014-01-10 16:57:28 UTC) #17
tdresser
https://codereview.chromium.org/103893005/diff/110001/chrome/common/metrics/proto/system_profile.proto File chrome/common/metrics/proto/system_profile.proto (right): https://codereview.chromium.org/103893005/diff/110001/chrome/common/metrics/proto/system_profile.proto#newcode229 chrome/common/metrics/proto/system_profile.proto:229: optional uint32 product_id = 2; On 2014/01/08 21:45:33, Ilya ...
6 years, 11 months ago (2014-01-10 16:59:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/103893005/230001
6 years, 11 months ago (2014-01-10 17:04:16 UTC) #19
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 18:53:52 UTC) #20
Message was sent while issue was closed.
Change committed as 244210

Powered by Google App Engine
This is Rietveld 408576698