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

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

Issue 1865613002: bluetooth: Move read value to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-notifications
Patch Set: Address jyasskin's comments Created 4 years, 8 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/common/bluetooth/bluetooth_messages.h ('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 a89fd4eab4599f3d9746ec25cce799311712f0e8..4886ef1e5b0aee949af0b7abb25d7764609e41d0 100644
--- a/content/renderer/bluetooth/bluetooth_dispatcher.h
+++ b/content/renderer/bluetooth/bluetooth_dispatcher.h
@@ -83,9 +83,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
const blink::WebString& service_instance_id,
const blink::WebString& characteristics_uuid,
blink::WebBluetoothGetCharacteristicsCallbacks* callbacks);
- void readValue(int frame_routing_id,
- const blink::WebString& characteristic_instance_id,
- blink::WebBluetoothReadValueCallbacks* callbacks);
// WorkerThread::Observer implementation.
void WillStopCurrentWorkerThread() override;
@@ -124,12 +121,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
void OnGetCharacteristicsError(int thread_id,
int request_id,
blink::WebBluetoothError error);
- void OnReadValueSuccess(int thread_id,
- int request_id,
- const std::vector<uint8_t>& value);
- void OnReadValueError(int thread_id,
- int request_id,
- blink::WebBluetoothError error);
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
@@ -151,9 +142,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
// Tracks requests to get characteristics from a service.
IDMap<BluetoothCharacteristicsRequest, IDMapOwnPointer>
pending_characteristics_requests_;
- // Tracks requests to read from a characteristics.
- IDMap<blink::WebBluetoothReadValueCallbacks, IDMapOwnPointer>
- pending_read_value_requests_;
DISALLOW_COPY_AND_ASSIGN(BluetoothDispatcher);
};
« no previous file with comments | « content/common/bluetooth/bluetooth_messages.h ('k') | content/renderer/bluetooth/bluetooth_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698