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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h

Issue 2841293002: bluetooth: Add usecounter for gattserverdisconnected (Closed)
Patch Set: fix typo Created 3 years, 8 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: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
index d0a484a364369ec752e95680a52742ac2ad58035..3efeeaafe706694ed7ef19383ac6d2af15df37b2 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
@@ -91,6 +91,11 @@ class BluetoothDevice final : public EventTargetWithInlineData,
DEFINE_ATTRIBUTE_EVENT_LISTENER(gattserverdisconnected);
+ protected:
+ // EventTarget overrides:
+ void AddedEventListener(const AtomicString& eventType,
+ RegisteredEventListener&) override;
+
private:
// Holds all GATT Attributes associated with this BluetoothDevice.
Member<BluetoothAttributeInstanceMap> attribute_instance_map_;
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698