| Index: Source/modules/mediastream/MediaDevices.h
|
| diff --git a/Source/modules/mediastream/MediaDevices.h b/Source/modules/mediastream/MediaDevices.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ba26231c07cf87be3ac3e944a28d58ff8c8184f5
|
| --- /dev/null
|
| +++ b/Source/modules/mediastream/MediaDevices.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2015 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 MediaDevices_h
|
| +#define MediaDevices_h
|
| +
|
| +#include "bindings/core/v8/ScriptPromise.h"
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class ScriptState;
|
| +
|
| +class MediaDevices final : public GarbageCollected<MediaDevices>, public ScriptWrappable {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +public:
|
| + static MediaDevices* create()
|
| + {
|
| + return new MediaDevices();
|
| + }
|
| +
|
| + ScriptPromise enumerateDevices(ScriptState*);
|
| +
|
| + DEFINE_INLINE_TRACE() { }
|
| +
|
| +private:
|
| + MediaDevices() { }
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif
|
|
|