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

Side by Side 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: Fix so that this CL compiles on Windows. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "chrome/browser/chromeos/bluetooth/bluetooth_service_record.h" 11 #include "device/bluetooth/bluetooth_service_record.h"
12 #include "chrome/browser/chromeos/bluetooth/bluetooth_socket.h" 12 #include "device/bluetooth/bluetooth_socket.h"
13 13
14 namespace chromeos { 14 namespace bluetooth {
keybuk 2012/10/12 00:13:18 namespace?
youngki 2012/10/12 01:50:12 Done.
15 15
16 // This class is an implementation of BluetoothSocket class for Chrome OS 16 // This class is an implementation of BluetoothSocket class for Chrome OS
17 // platform. 17 // platform.
18 class BluetoothSocketChromeOs : public BluetoothSocket { 18 class BluetoothSocketChromeOs : public BluetoothSocket {
19 public: 19 public:
20 static scoped_refptr<BluetoothSocket> CreateBluetoothSocket( 20 static scoped_refptr<BluetoothSocket> CreateBluetoothSocket(
21 const BluetoothServiceRecord& service_record); 21 const BluetoothServiceRecord& service_record);
22 22
23 // BluetoothSocket override 23 // BluetoothSocket override
24 virtual int fd() const OVERRIDE; 24 virtual int fd() const OVERRIDE;
25 25
26 protected: 26 protected:
27 virtual ~BluetoothSocketChromeOs(); 27 virtual ~BluetoothSocketChromeOs();
28 28
29 private: 29 private:
30 BluetoothSocketChromeOs(const std::string& address, int fd); 30 BluetoothSocketChromeOs(const std::string& address, int fd);
31 31
32 const std::string address_; 32 const std::string address_;
33 const int fd_; 33 const int fd_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketChromeOs); 35 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketChromeOs);
36 }; 36 };
37 37
38 } // namespace chromeos 38 } // namespace bluetooth
39 39
40 #endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_ 40 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698