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

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: reupload off of proper base 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..f79af34dc40c16956b360e8ca64b370e0b1ac5b6
--- /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 fd)
+ : device_(device), service_uuid_(service_uuid), fd_(fd) {}
keybuk 2012/04/19 01:05:40 place initializers on separate lines for clarity
+
+BluetoothSocket::~BluetoothSocket() {
+ // close the socket
+ NOTREACHED() << "NIY";
+}
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698