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

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

Issue 1286063002: Add a path for content/ to open and control a Bluetooth chooser dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Clean up. Created 5 years, 4 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
Index: content/browser/bluetooth/bluetooth_metrics.h
diff --git a/content/browser/bluetooth/bluetooth_metrics.h b/content/browser/bluetooth/bluetooth_metrics.h
index e3dc24d22408a8fd73b592faabaee1d27ac4f0cc..6d4baa76b4060025c04e3d613e2b095c2e0d833b 100644
--- a/content/browser/bluetooth/bluetooth_metrics.h
+++ b/content/browser/bluetooth/bluetooth_metrics.h
@@ -43,11 +43,14 @@ enum class UMARequestDeviceOutcome {
SUCCESS = 0,
NO_BLUETOOTH_ADAPTER = 1,
NO_RENDER_FRAME = 2,
- DISCOVERY_START_FAILED = 3,
- DISCOVERY_STOP_FAILED = 4,
- NO_MATCHING_DEVICES_FOUND = 5,
+ OBSOLETE_DISCOVERY_START_FAILED = 3,
+ OBSOLETE_DISCOVERY_STOP_FAILED = 4,
+ OBSOLETE_NO_MATCHING_DEVICES_FOUND = 5,
BLUETOOTH_ADAPTER_NOT_PRESENT = 6,
- BLUETOOTH_ADAPTER_OFF = 7,
+ OBSOLETE_BLUETOOTH_ADAPTER_OFF = 7,
+ NO_BLUETOOTH_CHOOSER_IMPLEMENTATION = 8,
+ CHOSEN_DEVICE_VANISHED = 9,
+ BLUETOOTH_CHOOSER_CANCELLED = 10,
// NOTE: Add new requestDevice() outcomes immediately above this line. Make
// sure to update the enum list in
// tools/metrics/histograms/histograms.xml accordingly.

Powered by Google App Engine
This is Rietveld 408576698