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

Side by Side Diff: content/child/bluetooth/bluetooth_primary_service_request.h

Issue 1159523002: bluetooth: Browser side partial implementation of getPrimaryService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed order of gypi Created 5 years, 6 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
(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 CONTENT_CHILD_BLUETOOTH_BLUETOOTH_PRIMARY_SERVICE_REQUEST_H_
6 #define CONTENT_CHILD_BLUETOOTH_BLUETOOTH_PRIMARY_SERVICE_REQUEST_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h"
10
11 namespace content {
12
13 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
14 BluetoothPrimaryServiceRequest(
15 blink::WebString device_instance_id,
16 blink::WebString service_uuid,
17 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks);
18 ~BluetoothPrimaryServiceRequest();
19
20 blink::WebString device_instance_id;
21 blink::WebString service_uuid;
22 scoped_ptr<blink::WebBluetoothGetPrimaryServiceCallbacks> callbacks;
23 };
24
25 } // namespace content
26
27 #endif // CONTENT_CHILD_BLUETOOTH_BLUETOOTH_PRIMARY_SERVICE_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698