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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698