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

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

Issue 1149883011: bluetooth: Browser-side implementation of readValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-get-characteristic-initial
Patch Set: Fix merge conflicts 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 20 matching lines...) Expand all
31 void connectGATT(const blink::WebString& device_instance_id, 31 void connectGATT(const blink::WebString& device_instance_id,
32 blink::WebBluetoothConnectGATTCallbacks* callbacks) override; 32 blink::WebBluetoothConnectGATTCallbacks* callbacks) override;
33 void getPrimaryService( 33 void getPrimaryService(
34 const blink::WebString& device_instance_id, 34 const blink::WebString& device_instance_id,
35 const blink::WebString& service_uuid, 35 const blink::WebString& service_uuid,
36 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override; 36 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override;
37 void getCharacteristic( 37 void getCharacteristic(
38 const blink::WebString& service_instance_id, 38 const blink::WebString& service_instance_id,
39 const blink::WebString& characteristic_uuid, 39 const blink::WebString& characteristic_uuid,
40 blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override; 40 blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override;
41 void readValue(const blink::WebString& characteristic_instance_id,
42 blink::WebBluetoothReadValueCallbacks* callbacks) override;
41 43
42 private: 44 private:
43 BluetoothDispatcher* GetDispatcher(); 45 BluetoothDispatcher* GetDispatcher();
44 46
45 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 47 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
46 48
47 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); 49 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl);
48 }; 50 };
49 51
50 } // namespace content 52 } // namespace content
51 53
52 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ 54 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/bluetooth/bluetooth_dispatcher.cc ('k') | content/child/bluetooth/web_bluetooth_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698