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

Unified Diff: device/bluetooth/bluetooth_profile.cc

Issue 276573004: Bluetooth: Implement new socket API for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DCHECK nits Created 6 years, 7 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_chromeos.cc ('k') | device/bluetooth/bluetooth_profile_chromeos.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 3454eb27c0f0133e7612819f65beaa5cbc597d85..8050462b93c30cb2ab9e08d39fdd2860e2e19e0e 100644
--- a/device/bluetooth/bluetooth_profile.cc
+++ b/device/bluetooth/bluetooth_profile.cc
@@ -4,13 +4,7 @@
#include "device/bluetooth/bluetooth_profile.h"
-#if defined(OS_CHROMEOS)
-#include "base/sequenced_task_runner.h"
-#include "base/single_thread_task_runner.h"
-#include "base/thread_task_runner_handle.h"
-#include "device/bluetooth/bluetooth_profile_chromeos.h"
-#include "device/bluetooth/bluetooth_socket_thread.h"
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
#include "base/mac/mac_util.h"
#elif defined(OS_WIN)
#include "device/bluetooth/bluetooth_profile_win.h"
@@ -51,13 +45,7 @@ BluetoothProfile* CreateBluetoothProfileMac(
void BluetoothProfile::Register(const BluetoothUUID& uuid,
const Options& options,
const ProfileCallback& callback) {
-#if defined(OS_CHROMEOS)
- chromeos::BluetoothProfileChromeOS* profile = NULL;
- profile = new chromeos::BluetoothProfileChromeOS(
- base::ThreadTaskRunnerHandle::Get(),
- device::BluetoothSocketThread::Get());
- profile->Init(uuid, options, callback);
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
BluetoothProfile* profile = NULL;
if (base::mac::IsOSLionOrLater())
« no previous file with comments | « device/bluetooth/bluetooth_device_chromeos.cc ('k') | device/bluetooth/bluetooth_profile_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698