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

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

Issue 2203103003: Reset Bluetooth EventHandler when it is invalid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added CONTENT_EXPORT Created 4 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
« no previous file with comments | « chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc ('k') | tools/metrics/histograms/histograms.xml » ('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 34aae8c2dfc26382d1cbc1c8accbe671b3a91f4b..9fc0bd12629af9922f7ec3476856764f0dcebd2c 100644
--- a/content/browser/bluetooth/bluetooth_metrics.h
+++ b/content/browser/bluetooth/bluetooth_metrics.h
@@ -73,6 +73,7 @@ enum class UMARequestDeviceOutcome {
NEED_LOCATION_HELP_LINK_PRESSED = 14,
BLUETOOTH_CHOOSER_POLICY_DISABLED = 15,
BLUETOOTH_GLOBALLY_DISABLED = 16,
+ BLUETOOTH_CHOOSER_EVENT_HANDLER_INVALID = 17,
// NOTE: Add new requestDevice() outcomes immediately above this line. Make
// sure to update the enum list in
// tools/metrics/histograms/histograms.xml accordingly.
@@ -82,7 +83,7 @@ enum class UMARequestDeviceOutcome {
// There should be a call to this function before every
// Send(BluetoothMsg_RequestDeviceSuccess...) or
// Send(BluetoothMsg_RequestDeviceError...).
-void RecordRequestDeviceOutcome(UMARequestDeviceOutcome outcome);
+CONTENT_EXPORT void RecordRequestDeviceOutcome(UMARequestDeviceOutcome outcome);
// Records stats about the arguments used when calling requestDevice.
// - The number of filters used.
« no previous file with comments | « chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698