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

Unified Diff: content/renderer/bluetooth/bluetooth_dispatcher.h

Issue 1775953004: bluetooth: Move writeValue to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Address scheib's comments Created 4 years, 9 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/renderer/bluetooth/bluetooth_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/bluetooth/bluetooth_dispatcher.h
diff --git a/content/renderer/bluetooth/bluetooth_dispatcher.h b/content/renderer/bluetooth/bluetooth_dispatcher.h
index c93d66fadf3234051ba7eb9d7e4c6522c1263292..6eb83998c692264a0000b684845755bf9d480225 100644
--- a/content/renderer/bluetooth/bluetooth_dispatcher.h
+++ b/content/renderer/bluetooth/bluetooth_dispatcher.h
@@ -34,7 +34,6 @@ class Message;
struct BluetoothCharacteristicRequest;
struct BluetoothCharacteristicsRequest;
struct BluetoothPrimaryServiceRequest;
-struct BluetoothWriteValueRequest;
struct BluetoothNotificationsRequest;
namespace content {
@@ -88,10 +87,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
void readValue(int frame_routing_id,
const blink::WebString& characteristic_instance_id,
blink::WebBluetoothReadValueCallbacks* callbacks);
- void writeValue(int frame_routing_id,
- const blink::WebString& characteristic_instance_id,
- const blink::WebVector<uint8_t>& value,
- blink::WebBluetoothWriteValueCallbacks*);
void startNotifications(int frame_routing_id,
const blink::WebString& characteristic_instance_id,
blink::WebBluetoothRemoteGATTCharacteristic* delegate,
@@ -216,10 +211,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
void OnReadValueError(int thread_id,
int request_id,
blink::WebBluetoothError error);
- void OnWriteValueSuccess(int thread_id, int request_id);
- void OnWriteValueError(int thread_id,
- int request_id,
- blink::WebBluetoothError error);
void OnStartNotificationsSuccess(int thread_id, int request_id);
void OnStartNotificationsError(int thread_id,
int request_id,
@@ -257,8 +248,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
// Tracks requests to read from a characteristics.
IDMap<blink::WebBluetoothReadValueCallbacks, IDMapOwnPointer>
pending_read_value_requests_;
- IDMap<BluetoothWriteValueRequest, IDMapOwnPointer>
- pending_write_value_requests_;
IDMap<BluetoothNotificationsRequest, IDMapOwnPointer>
pending_notifications_requests_;
« no previous file with comments | « content/content_browser.gypi ('k') | content/renderer/bluetooth/bluetooth_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698