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

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

Issue 1217983004: bluetooth: browser-side implementation of writeValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-origin
Patch Set: Remove comment Created 5 years, 5 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 23 matching lines...) Expand all
34 void getPrimaryService( 34 void getPrimaryService(
35 const blink::WebString& device_instance_id, 35 const blink::WebString& device_instance_id,
36 const blink::WebString& service_uuid, 36 const blink::WebString& service_uuid,
37 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override; 37 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override;
38 void getCharacteristic( 38 void getCharacteristic(
39 const blink::WebString& service_instance_id, 39 const blink::WebString& service_instance_id,
40 const blink::WebString& characteristic_uuid, 40 const blink::WebString& characteristic_uuid,
41 blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override; 41 blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override;
42 void readValue(const blink::WebString& characteristic_instance_id, 42 void readValue(const blink::WebString& characteristic_instance_id,
43 blink::WebBluetoothReadValueCallbacks* callbacks) override; 43 blink::WebBluetoothReadValueCallbacks* callbacks) override;
44 void writeValue(const blink::WebString& characteristic_instance_id,
45 const std::vector<uint8_t>& value,
46 blink::WebBluetoothWriteValueCallbacks*) override;
44 47
45 private: 48 private:
46 BluetoothDispatcher* GetDispatcher(); 49 BluetoothDispatcher* GetDispatcher();
47 50
48 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 51 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); 53 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl);
51 }; 54 };
52 55
53 } // namespace content 56 } // namespace content
54 57
55 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ 58 #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