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

Side by Side Diff: content/common/bluetooth/bluetooth_device.h

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Change ref to pointer Created 4 years, 6 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
« no previous file with comments | « content/common/bluetooth/PRESUBMIT.py ('k') | content/common/bluetooth/bluetooth_device.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 CONTENT_COMMON_BLUETOOTH_BLUETOOTH_DEVICE_H_
6 #define CONTENT_COMMON_BLUETOOTH_BLUETOOTH_DEVICE_H_
7
8 #include <stdint.h>
9
10 #include <string>
11
12 #include "base/strings/string16.h"
13 #include "content/common/content_export.h"
14 #include "device/bluetooth/bluetooth_device.h"
15
16 namespace content {
17
18 // Data sent over IPC representing a Bluetooth device, corresponding to
19 // blink::WebBluetoothDevice.
20 struct CONTENT_EXPORT BluetoothDevice {
21 BluetoothDevice();
22 BluetoothDevice(const std::string& id,
23 const base::string16& name,
24 const std::vector<std::string>& uuids);
25 ~BluetoothDevice();
26
27 static std::vector<std::string> UUIDsFromBluetoothUUIDs(
28 const device::BluetoothDevice::UUIDList& uuid_list);
29
30 std::string id;
31 base::string16 name;
32 std::vector<std::string> uuids; // 128bit UUIDs with dashes. 36 chars.
33 };
34
35 } // namespace content
36
37 #endif // CONTENT_COMMON_BLUETOOTH_BLUETOOTH_DEVICE_H_
OLDNEW
« no previous file with comments | « content/common/bluetooth/PRESUBMIT.py ('k') | content/common/bluetooth/bluetooth_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698