Chromium Code Reviews| Index: public/platform/modules/bluetooth/WebBluetoothGATTRemoteServer.h |
| diff --git a/public/platform/modules/bluetooth/WebBluetoothGATTRemoteServer.h b/public/platform/modules/bluetooth/WebBluetoothGATTRemoteServer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b02d61a12265af6f7dbdfcf217e87cbd0cb11a1a |
| --- /dev/null |
| +++ b/public/platform/modules/bluetooth/WebBluetoothGATTRemoteServer.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WebBluetoothGATTRemoteServer_h |
| +#define WebBluetoothGATTRemoteServer_h |
| + |
| +#include "public/platform/WebString.h" |
| + |
| +namespace blink { |
| + |
| +struct WebBluetoothDevice; |
|
scheib
2015/04/18 00:06:52
This seems to no longer be needed.
ortuno
2015/04/20 18:32:44
Oops Done.
|
| + |
| +struct WebBluetoothGATTRemoteServer { |
|
Jeffrey Yasskin
2015/04/17 23:45:08
Should you also be adding an .idl file to define t
ortuno
2015/04/20 18:32:44
I added the .idl files in this patch: https://code
|
| + WebBluetoothGATTRemoteServer(const WebString& instanceID, bool connected) |
|
Jeffrey Yasskin
2015/04/17 23:45:08
Maybe "deviceInstanceID"? to make it clear what ki
ortuno
2015/04/20 18:32:44
Done.
|
| + : instanceID(instanceID) |
| + , connected(connected) |
| + { |
| + } |
| + |
| + // Members corresponding to BluetoothGATTRemoteServer attribute as |
|
Jeffrey Yasskin
2015/04/17 23:45:08
s/attribute/attributes/
ortuno
2015/04/20 18:32:44
Done.
|
| + // specified in the IDL. |
| + const WebString instanceID; |
| + const bool connected; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebBluetoothGATTRemoteServer_h |