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

Unified Diff: content/browser/bluetooth/bluetooth_metrics.h

Issue 2771893002: Move Bluetooth.Web.FunctionCall.Count UMA from browser to WebKit (Closed)
Patch Set: address more comment Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/bluetooth/bluetooth_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/bluetooth/bluetooth_metrics.h
diff --git a/content/browser/bluetooth/bluetooth_metrics.h b/content/browser/bluetooth/bluetooth_metrics.h
index a32767724fc87829116fb20c587a9851c940a655..0900c8ba74ec0c7a5b80a6774ddaa80eea6be16c 100644
--- a/content/browser/bluetooth/bluetooth_metrics.h
+++ b/content/browser/bluetooth/bluetooth_metrics.h
@@ -22,32 +22,6 @@ namespace content {
// General Metrics
-// Enumeration of each Web Bluetooth API entry point.
-enum class UMAWebBluetoothFunction {
- REQUEST_DEVICE = 0,
- CONNECT_GATT = 1,
- GET_PRIMARY_SERVICE = 2,
- SERVICE_GET_CHARACTERISTIC = 3,
- CHARACTERISTIC_READ_VALUE = 4,
- CHARACTERISTIC_WRITE_VALUE = 5,
- CHARACTERISTIC_START_NOTIFICATIONS = 6,
- CHARACTERISTIC_STOP_NOTIFICATIONS = 7,
- REMOTE_GATT_SERVER_DISCONNECT = 8,
- SERVICE_GET_CHARACTERISTICS = 9,
- GET_PRIMARY_SERVICES = 10,
- DESCRIPTOR_READ_VALUE = 11,
- DESCRIPTOR_WRITE_VALUE = 12,
- CHARACTERISTIC_GET_DESCRIPTOR = 13,
- CHARACTERISTIC_GET_DESCRIPTORS = 14,
- // NOTE: Add new actions immediately above this line. Make sure to update
- // the enum list in tools/metrics/histograms/histograms.xml accordingly.
- COUNT
-};
-
-// There should be a call to this function for every call to the Web Bluetooth
-// API.
-void RecordWebBluetoothFunctionCall(UMAWebBluetoothFunction function);
-
// Enumeration for outcomes of querying the bluetooth cache.
enum class CacheQueryOutcome {
SUCCESS = 0,
« no previous file with comments | « no previous file | content/browser/bluetooth/bluetooth_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698