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

Unified Diff: device/bluetooth/bluetooth_channel_mac.mm

Issue 328903002: Factor out a BluetoothChannelMac base class and a BluetoothRfcommChannelMac subclass. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git-add new files 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_channel_mac.h ('k') | device/bluetooth/bluetooth_rfcomm_channel_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_channel_mac.mm
diff --git a/device/bluetooth/bluetooth_channel_mac.mm b/device/bluetooth/bluetooth_channel_mac.mm
new file mode 100644
index 0000000000000000000000000000000000000000..63b8f6843737a8152df28da7448442b075d23993
--- /dev/null
+++ b/device/bluetooth/bluetooth_channel_mac.mm
@@ -0,0 +1,22 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "device/bluetooth/bluetooth_channel_mac.h"
+
+#include "base/logging.h"
+
+namespace device {
+
+BluetoothChannelMac::BluetoothChannelMac() : socket_(NULL) {
+}
+
+BluetoothChannelMac::~BluetoothChannelMac() {
+}
+
+void BluetoothChannelMac::SetSocket(BluetoothSocketMac* socket) {
+ DCHECK(!socket_);
+ socket_ = socket;
+}
+
+} // namespace device
« no previous file with comments | « device/bluetooth/bluetooth_channel_mac.h ('k') | device/bluetooth/bluetooth_rfcomm_channel_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698