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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h

Issue 11743024: Implemented BluetoothExtensionFunction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 7 years, 11 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: chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h b/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h
index 78d0357f4a531addb95840ff7ccb307dc564b2da..b93858acd9943e434d52af68d934e05f268c9b89 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h
@@ -23,13 +23,9 @@ class ExtensionBluetoothEventRouter
explicit ExtensionBluetoothEventRouter(Profile* profile);
virtual ~ExtensionBluetoothEventRouter();
- // adapter() will return NULL if the bluetooth adapter is not supported in the
- // current platform.
- scoped_refptr<const device::BluetoothAdapter> adapter();
-
- // GetMutableAdapter will return NULL if the bluetooth adapter is not
+ // GetAdapter will return NULL if the bluetooth adapter is not
// supported in the current platform.
- scoped_refptr<device::BluetoothAdapter> GetMutableAdapter();
+ scoped_refptr<device::BluetoothAdapter> GetAdapter();
// Called when a bluetooth event listener is added.
void OnListenerAdded();

Powered by Google App Engine
This is Rietveld 408576698