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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc

Issue 1201063002: Set up the infrastructure for Extension event metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaaaaase Created 5 years, 6 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: extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
diff --git a/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc b/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
index 7ffbe632b793261e20f28b2d4a736694be47329f..d08f7193d10331937db4f206bd3dd2c500c4b28c 100644
--- a/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
+++ b/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
@@ -102,8 +102,8 @@ void BluetoothApiPairingDelegate::DispatchPairingEvent(
const bt_private::PairingEvent& pairing_event) {
scoped_ptr<base::ListValue> args =
bt_private::OnPairing::Create(pairing_event);
- scoped_ptr<Event> event(
- new Event(bt_private::OnPairing::kEventName, args.Pass()));
+ scoped_ptr<Event> event(new Event(
+ events::UNKNOWN, bt_private::OnPairing::kEventName, args.Pass()));
EventRouter::Get(browser_context_)
->DispatchEventToExtension(extension_id_, event.Pass());
}
« no previous file with comments | « extensions/browser/api/audio/audio_api.cc ('k') | extensions/browser/api/bluetooth/bluetooth_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698