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

Side by Side Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTRemoteServer.h

Issue 1527853002: bluetooth: Add disconnect function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-device-identifier
Patch Set: Fix test that fails after upstream change. Created 4 years, 11 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 WebBluetoothGATTRemoteServer_h 5 #ifndef WebBluetoothGATTRemoteServer_h
6 #define WebBluetoothGATTRemoteServer_h 6 #define WebBluetoothGATTRemoteServer_h
7 7
8 #include "public/platform/WebString.h" 8 #include "public/platform/WebString.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 struct WebBluetoothGATTRemoteServer { 12 struct WebBluetoothGATTRemoteServer {
13 WebBluetoothGATTRemoteServer(const WebString& deviceInstanceID, 13 WebBluetoothGATTRemoteServer(const WebString& deviceId,
14 bool connected) 14 bool connected)
15 : deviceInstanceID(deviceInstanceID) 15 : deviceId(deviceId)
16 , connected(connected) 16 , connected(connected)
17 { 17 {
18 } 18 }
19 19
20 // Members corresponding to BluetoothGATTRemoteServer attributes as 20 // Members corresponding to BluetoothGATTRemoteServer attributes as
21 // specified in the IDL. 21 // specified in the IDL.
22 const WebString deviceInstanceID; 22 const WebString deviceId;
23 const bool connected; 23 bool connected;
24 }; 24 };
25 25
26 } // namespace blink 26 } // namespace blink
27 27
28 #endif // WebBluetoothGATTRemoteServer_h 28 #endif // WebBluetoothGATTRemoteServer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698