| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothFakeBluetooth.h
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothFakeBluetooth.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothFakeBluetooth.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..09d84e2104874203f4ff6bac9f49961bfd0bab23
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothFakeBluetooth.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef BluetoothFakeBluetooth_h
|
| +#define BluetoothFakeBluetooth_h
|
| +
|
| +#include "modules/bluetooth/Bluetooth.h"
|
| +#include "modules/bluetooth/FakeBluetooth.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class BluetoothFakeBluetooth final : public GarbageCollected<BluetoothFakeBluetooth>,
|
| + public Supplement<Bluetooth> {
|
| + USING_GARBAGE_COLLECTED_MIXIN(BluetoothFakeBluetooth);
|
| +
|
| + public:
|
| +
|
| + static BluetoothFakeBluetooth& from(Bluetooth&);
|
| + static FakeBluetooth* test(Bluetooth&);
|
| + FakeBluetooth* test();
|
| +
|
| + DECLARE_TRACE();
|
| +
|
| + private:
|
| + explicit BluetoothFakeBluetooth(Bluetooth&);
|
| + static const char* supplementName();
|
| +
|
| + Member<FakeBluetooth> m_test;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // BluetoothFakeBluetooth_h
|
|
|