Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 WebBluetoothGATTRemoteServer_h | |
| 6 #define WebBluetoothGATTRemoteServer_h | |
| 7 | |
| 8 #include "public/platform/WebString.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 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.
| |
| 13 | |
| 14 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
| |
| 15 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.
| |
| 16 : instanceID(instanceID) | |
| 17 , connected(connected) | |
| 18 { | |
| 19 } | |
| 20 | |
| 21 // 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.
| |
| 22 // specified in the IDL. | |
| 23 const WebString instanceID; | |
| 24 const bool connected; | |
| 25 }; | |
| 26 | |
| 27 } // namespace blink | |
| 28 | |
| 29 #endif // WebBluetoothGATTRemoteServer_h | |
| OLD | NEW |