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

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

Issue 778443002: bluetooth: Make device/bluetooth a shared library component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Set DelayLoadDLL settings on shared library as well Created 6 years 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
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win.h ('k') | device/bluetooth/bluetooth_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_WIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "device/bluetooth/bluetooth_export.h"
12 #include "device/bluetooth/bluetooth_init_win.h" 13 #include "device/bluetooth/bluetooth_init_win.h"
13 #include "device/bluetooth/bluetooth_uuid.h" 14 #include "device/bluetooth/bluetooth_uuid.h"
14 15
15 namespace device { 16 namespace device {
16 17
17 class BluetoothServiceRecordWin { 18 class DEVICE_BLUETOOTH_EXPORT BluetoothServiceRecordWin {
18 public: 19 public:
19 BluetoothServiceRecordWin(const std::string& device_address, 20 BluetoothServiceRecordWin(const std::string& device_address,
20 const std::string& name, 21 const std::string& name,
21 const std::vector<uint8>& sdp_bytes, 22 const std::vector<uint8>& sdp_bytes,
22 const BluetoothUUID& gatt_uuid); 23 const BluetoothUUID& gatt_uuid);
23 24
24 bool IsEqual(const BluetoothServiceRecordWin& other); 25 bool IsEqual(const BluetoothServiceRecordWin& other);
25 26
26 // The BTH_ADDR address of the BluetoothDevice providing this service. 27 // The BTH_ADDR address of the BluetoothDevice providing this service.
27 BTH_ADDR device_bth_addr() const { return device_bth_addr_; } 28 BTH_ADDR device_bth_addr() const { return device_bth_addr_; }
(...skipping 23 matching lines...) Expand all
51 52
52 bool supports_rfcomm_; 53 bool supports_rfcomm_;
53 uint8 rfcomm_channel_; 54 uint8 rfcomm_channel_;
54 55
55 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecordWin); 56 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecordWin);
56 }; 57 };
57 58
58 } // namespace device 59 } // namespace device
59 60
60 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_WIN_H_ 61 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win.h ('k') | device/bluetooth/bluetooth_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698