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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.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_extension_function.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h b/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
index c6c4ddbfc6efa63cb79ce5d309d2c72f1ebcc8d7..d24f654ada547f25c1d30c2591ccf735fcedd1ad 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
@@ -39,8 +39,6 @@ class BluetoothExtensionFunction : public AsyncExtensionFunction {
// automatically once |adapter| has been initialized.
virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) = 0;
- base::WeakPtrFactory<BluetoothExtensionFunction> weak_ptr_factory_;
-
DISALLOW_COPY_AND_ASSIGN(BluetoothExtensionFunction);
};

Powered by Google App Engine
This is Rietveld 408576698