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

Unified Diff: chrome/browser/chromeos/bluetooth/bluetooth_socket.cc

Issue 10007008: Add support for creating bluetooth RFCOMM sockets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding disconnect Created 8 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: chrome/browser/chromeos/bluetooth/bluetooth_socket.cc
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_socket.cc b/chrome/browser/chromeos/bluetooth/bluetooth_socket.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e3e3f9c290b91e7e3708bff7273f188d54b7fa15
--- /dev/null
+++ b/chrome/browser/chromeos/bluetooth/bluetooth_socket.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 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 "chrome/browser/chromeos/bluetooth/bluetooth_socket.h"
+
+#include "chrome/browser/chromeos/bluetooth/bluetooth_device.h"
+
+namespace chromeos {
+
+BluetoothSocket::BluetoothSocket(
+ BluetoothDevice *device, const std::string &service_uuid, int id)
keybuk 2012/04/16 22:25:36 nit: "* " and "& " not " *" and " &"
+ : device_(device), service_uuid_(service_uuid), id_(id) {}
+
+void BluetoothSocket::Close() {
+ // TODO(keybuk): dbus stuff
keybuk 2012/04/16 22:25:36 no dbus here, all socket ;)
+ NOTREACHED() << "NIY";
+}
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698