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

Side by Side Diff: chrome/browser/chromeos/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
7
8 #include <string>
9
10 #include "base/memory/ref_counted.h"
11 #include "chrome/browser/chromeos/bluetooth/bluetooth_service_record.h"
12 #include "chrome/browser/chromeos/bluetooth/bluetooth_socket.h"
13
14 namespace chromeos {
15
16 // This class is an implementation of BluetoothSocket class for Chrome OS
17 // platform.
18 class BluetoothSocketChromeOs : public BluetoothSocket {
19 public:
20 static scoped_refptr<BluetoothSocket> CreateBluetoothSocket(
21 const BluetoothServiceRecord& service_record);
22
23 // BluetoothSocket override
24 virtual int fd() const OVERRIDE;
25
26 protected:
27 virtual ~BluetoothSocketChromeOs();
28
29 private:
30 BluetoothSocketChromeOs(const std::string& address, int fd);
31
32 const std::string address_;
33 const int fd_;
34
35 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketChromeOs);
36 };
37
38 } // namespace chromeos
39
40 #endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SOCKET_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698