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

Side by Side Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothFakeBluetooth.h

Issue 2716263002: DO NOT SUBMIT. Renderer side of Bluetooth Test API in blink C++ (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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 BluetoothFakeBluetooth_h
6 #define BluetoothFakeBluetooth_h
7
8 #include "modules/bluetooth/Bluetooth.h"
9 #include "modules/bluetooth/FakeBluetooth.h"
10
11 namespace blink {
12
13 class BluetoothFakeBluetooth final : public GarbageCollected<BluetoothFakeBlueto oth>,
14 public Supplement<Bluetooth> {
15 USING_GARBAGE_COLLECTED_MIXIN(BluetoothFakeBluetooth);
16
17 public:
18
19 static BluetoothFakeBluetooth& from(Bluetooth&);
20 static FakeBluetooth* test(Bluetooth&);
21 FakeBluetooth* test();
22
23 DECLARE_TRACE();
24
25 private:
26 explicit BluetoothFakeBluetooth(Bluetooth&);
27 static const char* supplementName();
28
29 Member<FakeBluetooth> m_test;
30 };
31
32 } // namespace blink
33
34 #endif // BluetoothFakeBluetooth_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698