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

Unified Diff: device/bluetooth/bluetooth_profile.cc

Issue 236203018: win: Implement Bluetooth server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for #4 comments Created 6 years, 8 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_profile.cc
diff --git a/device/bluetooth/bluetooth_profile.cc b/device/bluetooth/bluetooth_profile.cc
index bf70ab82e6465f2c51a1bd7bc7fbd76309e8d1eb..61394f14b0b206242a11fe10afe047b2bfc8b913 100644
--- a/device/bluetooth/bluetooth_profile.cc
+++ b/device/bluetooth/bluetooth_profile.cc
@@ -54,9 +54,9 @@ void BluetoothProfile::Register(const BluetoothUUID& uuid,
profile = new BluetoothProfileMac(uuid, options.name);
callback.Run(profile);
#elif defined(OS_WIN)
- BluetoothProfile* profile = NULL;
- profile = new BluetoothProfileWin(uuid, options.name);
- callback.Run(profile);
+ BluetoothProfileWin* profile = NULL;
+ profile = new BluetoothProfileWin();
+ profile->Init(uuid, options, callback);
#else
callback.Run(NULL);
#endif

Powered by Google App Engine
This is Rietveld 408576698