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

Side by Side Diff: public/platform/WebBluetooth.h

Issue 650613005: bluetooth: Initial WebBluetooth & WebBluetoothError. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New 3 patch approach, WebBluetooth and WebBluetooth Error only. Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebBluetoothError.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WebBluetooth_h
6 #define WebBluetooth_h
7
8 #include "public/platform/WebCallbacks.h"
9
10 namespace blink {
11
12 struct WebBluetoothError;
13
14 // FIXME: Return a WebBluetoothDevice http://crbug.com/420284
15 typedef WebCallbacks<void, WebBluetoothError> WebBluetoothRequestDeviceCallbacks ;
16
17 class WebBluetooth {
18 public:
19 virtual ~WebBluetooth() { }
20
21 // Requests a bluetooth device.
22 // WebBluetoothRequestDeviceCallbacks ownership transferred to the client.
23 virtual void requestDevice(WebBluetoothRequestDeviceCallbacks*) = 0;
24 };
25
26 } // namespace blink
27
28 #endif // WebBluetooth_h
OLDNEW
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebBluetoothError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698