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

Side by Side Diff: device/bluetooth/bluetooth_device.h

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_DEVICE_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_DEVICE_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 14
15 namespace chromeos { 15 namespace device_bluetooth {
16 16
17 class BluetoothServiceRecord; 17 class BluetoothServiceRecord;
18 class BluetoothSocket; 18 class BluetoothSocket;
19 19
20 struct BluetoothOutOfBandPairingData; 20 struct BluetoothOutOfBandPairingData;
21 21
22 // BluetoothDevice represents a remote Bluetooth device, both its properties and 22 // BluetoothDevice represents a remote Bluetooth device, both its properties and
23 // capabilities as discovered by a local adapter and actions that may be 23 // capabilities as discovered by a local adapter and actions that may be
24 // performed on the remove device such as pairing, connection and disconnection. 24 // performed on the remove device such as pairing, connection and disconnection.
25 // 25 //
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 bool visible_; 303 bool visible_;
304 bool bonded_; 304 bool bonded_;
305 bool connected_; 305 bool connected_;
306 306
307 private: 307 private:
308 // Returns a localized string containing the device's bluetooth address and 308 // Returns a localized string containing the device's bluetooth address and
309 // a device type for display when |name_| is empty. 309 // a device type for display when |name_| is empty.
310 string16 GetAddressWithLocalizedDeviceTypeName() const; 310 string16 GetAddressWithLocalizedDeviceTypeName() const;
311 }; 311 };
312 312
313 } // namespace chromeos 313 } // namespace device_bluetooth
314 314
315 #endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_DEVICE_H_ 315 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698