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

Unified Diff: device/bluetooth/bluetooth_socket_chromeos.h

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renamed 'bluetooth' target to 'device_bluetooth'. Created 8 years, 2 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/chrome/browser/chromeos/bluetooth/bluetooth_socket_chromeos.h b/device/bluetooth/bluetooth_socket_chromeos.h
similarity index 56%
rename from chrome/browser/chromeos/bluetooth/bluetooth_socket_chromeos.h
rename to device/bluetooth/bluetooth_socket_chromeos.h
index 7d0328cc5fbc2b2e2c7d6def44a9d41053a4c0c7..06858305b498e0bc57820bd118f0a0e80fce095d 100644
--- a/chrome/browser/chromeos/bluetooth/bluetooth_socket_chromeos.h
+++ b/device/bluetooth/bluetooth_socket_chromeos.h
@@ -2,23 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
-#define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
+#define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
#include <string>
#include "base/memory/ref_counted.h"
-#include "chrome/browser/chromeos/bluetooth/bluetooth_service_record.h"
-#include "chrome/browser/chromeos/bluetooth/bluetooth_socket.h"
+#include "device/bluetooth/bluetooth_socket.h"
+
+namespace device {
+
+class BluetoothServiceRecord;
+
+} // namespace device
namespace chromeos {
// This class is an implementation of BluetoothSocket class for Chrome OS
// platform.
-class BluetoothSocketChromeOs : public BluetoothSocket {
+class BluetoothSocketChromeOs : public device::BluetoothSocket {
public:
- static scoped_refptr<BluetoothSocket> CreateBluetoothSocket(
- const BluetoothServiceRecord& service_record);
+ static scoped_refptr<device::BluetoothSocket> CreateBluetoothSocket(
+ const device::BluetoothServiceRecord& service_record);
// BluetoothSocket override
virtual int fd() const OVERRIDE;
@@ -37,4 +42,4 @@ class BluetoothSocketChromeOs : public BluetoothSocket {
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_

Powered by Google App Engine
This is Rietveld 408576698