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

Unified Diff: device/bluetooth/bluetooth_profile.cc

Issue 320463002: Bluetooth: Implement socket API for Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DeviceWin return SDRWin to avoid cast Created 6 years, 6 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_device_win.cc ('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 8050462b93c30cb2ab9e08d39fdd2860e2e19e0e..3a603e26de90ffa6ab97b63eb3c9a870fafc0ab4 100644
--- a/device/bluetooth/bluetooth_profile.cc
+++ b/device/bluetooth/bluetooth_profile.cc
@@ -6,8 +6,6 @@
#if defined(OS_MACOSX)
#include "base/mac/mac_util.h"
-#elif defined(OS_WIN)
-#include "device/bluetooth/bluetooth_profile_win.h"
#endif
namespace device {
@@ -51,10 +49,6 @@ void BluetoothProfile::Register(const BluetoothUUID& uuid,
if (base::mac::IsOSLionOrLater())
profile = CreateBluetoothProfileMac(uuid, options);
callback.Run(profile);
-#elif defined(OS_WIN)
- BluetoothProfileWin* profile = NULL;
- profile = new BluetoothProfileWin();
- profile->Init(uuid, options, callback);
#else
callback.Run(NULL);
#endif
« no previous file with comments | « device/bluetooth/bluetooth_device_win.cc ('k') | device/bluetooth/bluetooth_profile_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698