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

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: rebase 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
« no previous file with comments | « device/bluetooth/bluetooth_adapter_win.h ('k') | device/bluetooth/bluetooth_profile_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_profile.cc
diff --git a/device/bluetooth/bluetooth_profile.cc b/device/bluetooth/bluetooth_profile.cc
index 1e41b26c3e82da7191581ecb9bf647bd9c2851db..5cf421c3d276a1c9eea976d83e2788e865547c02 100644
--- a/device/bluetooth/bluetooth_profile.cc
+++ b/device/bluetooth/bluetooth_profile.cc
@@ -58,9 +58,9 @@ void BluetoothProfile::Register(const BluetoothUUID& uuid,
profile = CreateBluetoothProfileMac(uuid, options);
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
« no previous file with comments | « device/bluetooth/bluetooth_adapter_win.h ('k') | device/bluetooth/bluetooth_profile_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698