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

Side by Side Diff: content/browser/bluetooth/web_bluetooth_service_impl.h

Issue 2394423002: bluetooth: Rename blink::mojom::WebBluetoothError (Closed)
Patch Set: bluetooth: Rename blink::mojom::WebBluetoothError Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_BROWSER_BLUETOOTH_WEB_BLUETOOTH_SERVICE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_BLUETOOTH_WEB_BLUETOOTH_SERVICE_IMPL_H_
6 #define CONTENT_BROWSER_BLUETOOTH_WEB_BLUETOOTH_SERVICE_IMPL_H_ 6 #define CONTENT_BROWSER_BLUETOOTH_WEB_BLUETOOTH_SERVICE_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 const base::Optional<device::BluetoothUUID>& services_uuid, 142 const base::Optional<device::BluetoothUUID>& services_uuid,
143 const RemoteServerGetPrimaryServicesCallback& callback, 143 const RemoteServerGetPrimaryServicesCallback& callback,
144 device::BluetoothDevice* device); 144 device::BluetoothDevice* device);
145 145
146 // Callbacks for BluetoothDeviceChooserController::GetDevice. 146 // Callbacks for BluetoothDeviceChooserController::GetDevice.
147 void OnGetDeviceSuccess( 147 void OnGetDeviceSuccess(
148 const RequestDeviceCallback& callback, 148 const RequestDeviceCallback& callback,
149 blink::mojom::WebBluetoothRequestDeviceOptionsPtr options, 149 blink::mojom::WebBluetoothRequestDeviceOptionsPtr options,
150 const std::string& device_id); 150 const std::string& device_id);
151 void OnGetDeviceFailed(const RequestDeviceCallback& callback, 151 void OnGetDeviceFailed(const RequestDeviceCallback& callback,
152 blink::mojom::WebBluetoothError error); 152 blink::mojom::WebBluetoothResult result);
153 153
154 // Callbacks for BluetoothDevice::CreateGattConnection. 154 // Callbacks for BluetoothDevice::CreateGattConnection.
155 void OnCreateGATTConnectionSuccess( 155 void OnCreateGATTConnectionSuccess(
156 const WebBluetoothDeviceId& device_id, 156 const WebBluetoothDeviceId& device_id,
157 base::TimeTicks start_time, 157 base::TimeTicks start_time,
158 const RemoteServerConnectCallback& callback, 158 const RemoteServerConnectCallback& callback,
159 std::unique_ptr<device::BluetoothGattConnection> connection); 159 std::unique_ptr<device::BluetoothGattConnection> connection);
160 void OnCreateGATTConnectionFailed( 160 void OnCreateGATTConnectionFailed(
161 base::TimeTicks start_time, 161 base::TimeTicks start_time,
162 const RemoteServerConnectCallback& callback, 162 const RemoteServerConnectCallback& callback,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 mojo::Binding<blink::mojom::WebBluetoothService> binding_; 253 mojo::Binding<blink::mojom::WebBluetoothService> binding_;
254 254
255 base::WeakPtrFactory<WebBluetoothServiceImpl> weak_ptr_factory_; 255 base::WeakPtrFactory<WebBluetoothServiceImpl> weak_ptr_factory_;
256 256
257 DISALLOW_COPY_AND_ASSIGN(WebBluetoothServiceImpl); 257 DISALLOW_COPY_AND_ASSIGN(WebBluetoothServiceImpl);
258 }; 258 };
259 259
260 } // namespace content 260 } // namespace content
261 261
262 #endif // CONTENT_BROWSER_BLUETOOTH_WEB_BLUETOOTH_SERVICE_IMPL_H_ 262 #endif // CONTENT_BROWSER_BLUETOOTH_WEB_BLUETOOTH_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/bluetooth/cache_query_result.h ('k') | content/browser/bluetooth/web_bluetooth_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698