Chromium Code Reviews| Index: content/child/bluetooth/bluetooth_primary_service_request.h |
| diff --git a/content/child/bluetooth/bluetooth_primary_service_request.h b/content/child/bluetooth/bluetooth_primary_service_request.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d81ee796e5d077db587d2647a6cca94c7ed929aa |
| --- /dev/null |
| +++ b/content/child/bluetooth/bluetooth_primary_service_request.h |
| @@ -0,0 +1,27 @@ |
| +// 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 CONTENT_CHILD_BLUETOOTH_BLUETOOTH_PRIMARY_SERVICE_REQUEST_H_ |
| +#define CONTENT_CHILD_BLUETOOTH_BLUETOOTH_PRIMARY_SERVICE_REQUEST_H_ |
| + |
| +#include "base/memory/scoped_ptr.h" |
| +#include "third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h" |
| + |
| +namespace content { |
| + |
| +struct BluetoothPrimaryServiceRequest { |
|
Jeffrey Yasskin
2015/05/29 20:31:42
I'd default to just defining this in the single .c
scheib
2015/05/31 19:48:41
I suspect this is based on a conversation ortuno a
Jeffrey Yasskin
2015/05/31 21:11:12
SGTM. I think the argument to split classes out in
ortuno
2015/06/01 18:27:03
Done.
Hm I was having some trouble with the compil
|
| + BluetoothPrimaryServiceRequest( |
| + blink::WebString device_instance_id, |
| + blink::WebString service_uuid, |
| + blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks); |
| + ~BluetoothPrimaryServiceRequest(); |
| + |
| + blink::WebString device_instance_id; |
| + blink::WebString service_uuid; |
| + scoped_ptr<blink::WebBluetoothGetPrimaryServiceCallbacks> callbacks; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_CHILD_BLUETOOTH_BLUETOOTH_PRIMARY_SERVICE_REQUEST_H_ |