Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / modules / bluetooth / WebBluetoothGATTService.h
blob4171faa6d8eabe6fa53310e8bcc72c6766c0ac01
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.
5 #ifndef WebBluetoothGATTService_h
6 #define WebBluetoothGATTService_h
8 #include "public/platform/WebString.h"
10 namespace blink {
12 struct WebBluetoothGATTService {
13 WebBluetoothGATTService(const WebString& serviceInstanceID,
14 const WebString& uuid,
15 bool isPrimary,
16 const WebString& deviceInstanceID)
17 : serviceInstanceID(serviceInstanceID)
18 , uuid(uuid)
19 , isPrimary(isPrimary)
20 , deviceInstanceID(deviceInstanceID)
24 // Members corresponding to BluetoothGATTService attributes as
25 // specified in the IDL.
26 const WebString serviceInstanceID;
27 const WebString uuid;
28 const bool isPrimary;
29 const WebString deviceInstanceID;
32 } // namespace blink
34 #endif // WebBluetoothGATTService_h