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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_api.cc

Issue 11411130: Implemented BluetoothTaskManagerWin class. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reverted DEPS 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_api.cc
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
index c983544b2bf73944862d081bf0809efc69eb54c8..2612595df1b1f07f715ec94c0c688fedd169cd87 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
@@ -43,11 +43,11 @@ extensions::ExtensionBluetoothEventRouter* GetEventRouter(Profile* profile) {
return extensions::BluetoothAPI::Get(profile)->bluetooth_event_router();
}
-const BluetoothAdapter* GetAdapter(Profile* profile) {
+scoped_refptr<const BluetoothAdapter> GetAdapter(Profile* profile) {
return GetEventRouter(profile)->adapter();
}
-BluetoothAdapter* GetMutableAdapter(Profile* profile) {
+scoped_refptr<BluetoothAdapter> GetMutableAdapter(Profile* profile) {
return GetEventRouter(profile)->GetMutableAdapter();
}
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_factory.cc » ('j') | device/bluetooth/bluetooth_adapter_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698