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

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

Issue 1156573005: bluetooth: Browser-side implementation of getCharacteristic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-get-primary-service-initial
Patch Set: Use iterator 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_
6 #define CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ 6 #define CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 19 matching lines...) Expand all
30 blink::WebBluetoothRequestDeviceCallbacks* callbacks) override; 30 blink::WebBluetoothRequestDeviceCallbacks* callbacks) override;
31 31
32 void connectGATT(const blink::WebString& device_instance_id, 32 void connectGATT(const blink::WebString& device_instance_id,
33 blink::WebBluetoothConnectGATTCallbacks* callbacks) override; 33 blink::WebBluetoothConnectGATTCallbacks* callbacks) override;
34 34
35 void getPrimaryService( 35 void getPrimaryService(
36 const blink::WebString& device_instance_id, 36 const blink::WebString& device_instance_id,
37 const blink::WebString& service_uuid, 37 const blink::WebString& service_uuid,
38 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override; 38 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override;
39 39
40 void getCharacteristic(
scheib 2015/06/04 06:30:49 Remove previous 3 blank lines.
ortuno 2015/06/05 19:37:44 Done.
41 const blink::WebString& service_instance_id,
42 const blink::WebString& characteristic_uuid,
43 blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override;
44
40 private: 45 private:
41 BluetoothDispatcher* GetDispatcher(); 46 BluetoothDispatcher* GetDispatcher();
42 47
43 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 48 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
44 49
45 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); 50 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl);
46 }; 51 };
47 52
48 } // namespace content 53 } // namespace content
49 54
50 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ 55 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698