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

Unified Diff: device/bluetooth/bluetooth_adapter.cc

Issue 848613003: bluetooth: Shutdown BluetoothAdapter before DBus on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Limit shutdown to defined(CHROMEOS); add checks that methods aren't run after shutdown Created 5 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: device/bluetooth/bluetooth_adapter.cc
diff --git a/device/bluetooth/bluetooth_adapter.cc b/device/bluetooth/bluetooth_adapter.cc
index 3a2ab0e2a52892219e76aaf89c0c4f11f83be83c..db8fafce523a6adca88c0d527bb7a5aee8d33407 100644
--- a/device/bluetooth/bluetooth_adapter.cc
+++ b/device/bluetooth/bluetooth_adapter.cc
@@ -24,6 +24,12 @@ base::WeakPtr<BluetoothAdapter> BluetoothAdapter::CreateAdapter(
}
#endif // !defined(OS_CHROMEOS) && !defined(OS_WIN) && !defined(OS_MACOSX)
+#if defined(OS_CHROMEOS)
+void BluetoothAdapter::OnDBusThreadManagerShutdown() {
+ NOTIMPLEMENTED();
+}
+#endif
armansito 2015/01/14 23:49:47 Remove
scheib 2015/01/15 00:03:40 Done.
+
BluetoothAdapter::BluetoothAdapter()
: weak_ptr_factory_(this) {
}

Powered by Google App Engine
This is Rietveld 408576698