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

Unified Diff: device/bluetooth/bluetooth_socket_chromeos.h

Issue 15020009: Bluetooth: remove legacy backend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
Index: device/bluetooth/bluetooth_socket_chromeos.h
diff --git a/device/bluetooth/bluetooth_socket_chromeos.h b/device/bluetooth/bluetooth_socket_chromeos.h
deleted file mode 100644
index d9e89fa61e64d08a6aa62cfd12b6adfcec425b8b..0000000000000000000000000000000000000000
--- a/device/bluetooth/bluetooth_socket_chromeos.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// 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.
-
-#ifndef DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
-#define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
-
-#include <string>
-
-#include "base/memory/ref_counted.h"
-#include "device/bluetooth/bluetooth_socket.h"
-
-namespace device {
-
-class BluetoothServiceRecord;
-
-} // namespace device
-
-namespace net {
-
-class DrainableIOBuffer;
-class GrowableIOBuffer;
-
-} // namespace net
-
-namespace chromeos {
-
-// This class is an implementation of BluetoothSocket class for Chrome OS
-// platform.
-class BluetoothSocketChromeOS : public device::BluetoothSocket {
- public:
- static scoped_refptr<device::BluetoothSocket> CreateBluetoothSocket(
- const device::BluetoothServiceRecord& service_record);
-
- // BluetoothSocket override
- virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE;
- virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE;
- virtual std::string GetLastErrorMessage() const OVERRIDE;
-
- protected:
- virtual ~BluetoothSocketChromeOS();
-
- private:
- BluetoothSocketChromeOS(int fd);
-
- const int fd_;
- std::string error_message_;
-
- DISALLOW_COPY_AND_ASSIGN(BluetoothSocketChromeOS);
-};
-
-} // namespace chromeos
-
-#endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
« no previous file with comments | « device/bluetooth/bluetooth_service_record_chromeos_unittest.cc ('k') | device/bluetooth/bluetooth_socket_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698