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

Issue 1017433002: Add RAPPOR metric recording for Device{Orientation,Motion} in blink. (Closed)

Created:
5 years, 9 months ago by timvolodine
Modified:
5 years, 8 months ago
Reviewers:
Mike West, kojii, Boris Smus
CC:
blink-reviews, Inactive, dglazkov+blink, Steven Holte, mlamouri+watch-blink_chromium.org, mvanouwerkerk+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add RAPPOR metric recording for Device{Orientation,Motion} in blink. Make it possible to record url domains where DeviceOrientation and DeviceMotion APIs are used. The general idea is to record the url domain when 'deviceorientation' or 'devicemotion' event listeners are added for the first time in JavaScript. The actual recording is done browser-side via RAPPOR which is privacy preserving. This patch also adds an empty recordRapporURL method to Platform.h. The content-side implementation has been implemented here: https://codereview.chromium.org/1014543003/ NOTE: this blink-side patch should after the content-side patch with rappor.xml definitions: https://codereview.chromium.org/1052013004/ (content side) BUG=467648 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193957

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix comments #

Patch Set 3 : remove debug logging #

Total comments: 2

Patch Set 4 : merge comments in Platform.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M Source/modules/device_orientation/DeviceMotionController.cpp View 1 2 chunks +4 lines, -0 lines 0 comments Download
M Source/modules/device_orientation/DeviceOrientationController.cpp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M public/platform/Platform.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 21 (4 generated)
timvolodine
mkwst@: for Platform.h and blink bits smus@: for the actual logging rationale
5 years, 9 months ago (2015-03-23 17:22:42 UTC) #2
Mike West
https://codereview.chromium.org/1017433002/diff/1/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/1017433002/diff/1/public/platform/Platform.h#newcode609 public/platform/Platform.h:609: virtual void recordRapporMetric(WebPlatformEventType type, const WebURL& url) { } ...
5 years, 9 months ago (2015-03-23 17:27:30 UTC) #3
timvolodine
+cc: holte@ https://codereview.chromium.org/1017433002/diff/1/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/1017433002/diff/1/public/platform/Platform.h#newcode609 public/platform/Platform.h:609: virtual void recordRapporMetric(WebPlatformEventType type, const WebURL& url) ...
5 years, 9 months ago (2015-03-23 17:33:30 UTC) #4
Mike West
On 2015/03/23 at 17:33:30, timvolodine wrote: > +cc: holte@ > > https://codereview.chromium.org/1017433002/diff/1/public/platform/Platform.h > File public/platform/Platform.h ...
5 years, 9 months ago (2015-03-23 17:51:11 UTC) #5
Mike West
On 2015/03/23 at 17:51:11, Mike West wrote: > > I understood from holte@ that there ...
5 years, 9 months ago (2015-03-23 17:52:57 UTC) #7
kojii
On 2015/03/23 17:52:57, Mike West wrote: > On 2015/03/23 at 17:51:11, Mike West wrote: > ...
5 years, 9 months ago (2015-03-24 01:30:31 UTC) #8
timvolodine
On 2015/03/24 01:30:31, koji wrote: > On 2015/03/23 17:52:57, Mike West wrote: > > On ...
5 years, 9 months ago (2015-03-24 12:38:22 UTC) #9
kojii
On 2015/03/24 12:38:22, timvolodine wrote: > However I see you are using > COARSE_RAPPOR_TYPE in ...
5 years, 9 months ago (2015-03-25 06:06:06 UTC) #10
kojii
The Chromium CL is close to land: https://codereview.chromium.org/1014543003/ All reviews are done, working on the ...
5 years, 8 months ago (2015-04-09 03:54:11 UTC) #11
timvolodine
On 2015/04/09 03:54:11, koji wrote: > The Chromium CL is close to land: > https://codereview.chromium.org/1014543003/ ...
5 years, 8 months ago (2015-04-09 14:29:37 UTC) #12
timvolodine
ok, done, mkwst@ could you PTAL please?
5 years, 8 months ago (2015-04-13 15:42:28 UTC) #13
Mike West
LGTM % nit. https://codereview.chromium.org/1017433002/diff/40001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/1017433002/diff/40001/public/platform/Platform.h#newcode577 public/platform/Platform.h:577: // Records a domain and registry ...
5 years, 8 months ago (2015-04-14 05:20:39 UTC) #14
timvolodine
thanks Mike! https://codereview.chromium.org/1017433002/diff/40001/public/platform/Platform.h File public/platform/Platform.h (right): https://codereview.chromium.org/1017433002/diff/40001/public/platform/Platform.h#newcode577 public/platform/Platform.h:577: // Records a domain and registry of ...
5 years, 8 months ago (2015-04-14 10:24:22 UTC) #15
kojii
On 2015/04/14 10:24:22, timvolodine wrote: > thanks Mike! > > https://codereview.chromium.org/1017433002/diff/40001/public/platform/Platform.h > File public/platform/Platform.h (right): ...
5 years, 8 months ago (2015-04-14 14:43:30 UTC) #16
timvolodine
On 2015/04/14 14:43:30, koji wrote: > On 2015/04/14 10:24:22, timvolodine wrote: > > thanks Mike! ...
5 years, 8 months ago (2015-04-15 13:53:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017433002/60001
5 years, 8 months ago (2015-04-17 15:23:04 UTC) #20
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 16:50:56 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193957

Powered by Google App Engine
This is Rietveld 408576698