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

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

Issue 1902153003: bluetooth: Move connect/disconnect to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-connection-tests
Patch Set: Fix gypi 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/content_tests.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 561db7db131bdc9324efd987b2d6100106bf2548..e627d53ebdb8dfa02e27a8356fff4c7a86d604cf 100644
--- a/content/renderer/bluetooth/bluetooth_dispatcher.h
+++ b/content/renderer/bluetooth/bluetooth_dispatcher.h
@@ -56,10 +56,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
void requestDevice(int frame_routing_id,
const blink::WebRequestDeviceOptions& options,
blink::WebBluetoothRequestDeviceCallbacks* callbacks);
- void connect(int frame_routing_id,
- const blink::WebString& device_id,
- blink::WebBluetoothRemoteGATTServerConnectCallbacks* callbacks);
- void disconnect(int frame_routing_id, const blink::WebString& device_id);
// WorkerThread::Observer implementation.
void WillStopCurrentWorkerThread() override;
@@ -72,10 +68,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
void OnRequestDeviceError(int thread_id,
int request_id,
blink::WebBluetoothError error);
- void OnGATTServerConnectSuccess(int thread_id, int request_id);
- void OnGATTServerConnectError(int thread_id,
- int request_id,
- blink::WebBluetoothError error);
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
@@ -83,10 +75,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
// Owns callback objects.
IDMap<blink::WebBluetoothRequestDeviceCallbacks, IDMapOwnPointer>
pending_requests_;
- // Tracks requests to connect to a device.
- // Owns callback objects.
- IDMap<blink::WebBluetoothRemoteGATTServerConnectCallbacks, IDMapOwnPointer>
- pending_connect_requests_;
DISALLOW_COPY_AND_ASSIGN(BluetoothDispatcher);
};
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/bluetooth/bluetooth_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698