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

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

Issue 12018024: Implemented Asynchronous Initialization of BluetoothAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Turned adapter_callbacks to a lazy instance. 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 23536267d3357315e4cdfb11ec07a44f231dbc45..d8f8024264b5103b3d452e2d7a008206ab85ecb6 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h
@@ -29,8 +29,8 @@ class ExtensionBluetoothEventRouter
// adapter is available for the current platform.
bool IsBluetoothSupported() const;
- void RunCallbackOnAdapterReady(
- const device::BluetoothAdapter::AdapterCallback& callback);
+ void GetAdapter(
+ const device::BluetoothAdapterFactory::AdapterCallback& callback);
// Called when a bluetooth event listener is added.
void OnListenerAdded();

Powered by Google App Engine
This is Rietveld 408576698