New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 660309 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature

Blocking:
issue 651261



Sign in to add a comment

bluetooth: add UseCounter

Project Member Reported by fbeaufort@chromium.org, Oct 28 2016

Issue description

I'd love to share use of Web Bluetooth feature over time like we do for Fetch for instance at https://www.chromestatus.com/metrics/feature/timeline/popularity/675.

It looks like it is only a matter of adding UseCounter.

See https://chromium.googlesource.com/chromium/blink/+/master/Source/core/frame/UseCounter.h: 
UseCounter is used for counting the number of times features of Blink are used on real web pages and help us know commonly features are used and thus when it's safe to remove or change them.
 

Comment 1 by juncai@chromium.org, Oct 28 2016

Cc: scheib@chromium.org ortuno@chromium.org
Owner: juncai@chromium.org
Status: Started (was: Available)
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 1 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6e569bd13f93845119ff051a6050888a65df16c7

commit 6e569bd13f93845119ff051a6050888a65df16c7
Author: juncai <juncai@chromium.org>
Date: Tue Nov 01 01:19:48 2016

Add UseCounter for WebBluetooth

This CL adds UseCounter for WebBluetooth's requestDevice() function. It
can help us know how often the WebBluetooth feature is used on web pages.

BUG= 660309 

Review-Url: https://codereview.chromium.org/2457653004
Cr-Commit-Position: refs/heads/master@{#428898}

[modify] https://crrev.com/6e569bd13f93845119ff051a6050888a65df16c7/third_party/WebKit/Source/core/frame/UseCounter.h
[modify] https://crrev.com/6e569bd13f93845119ff051a6050888a65df16c7/third_party/WebKit/Source/modules/bluetooth/Bluetooth.idl
[modify] https://crrev.com/6e569bd13f93845119ff051a6050888a65df16c7/tools/metrics/histograms/histograms.xml

Status: Fixed (was: Started)

Sign in to add a comment