| Index: Source/modules/permissions/Permissions.h
|
| diff --git a/Source/modules/permissions/Permissions.h b/Source/modules/permissions/Permissions.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..24e102e74d7df1b449b0b7ca2f20ef9dc8ee0624
|
| --- /dev/null
|
| +++ b/Source/modules/permissions/Permissions.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2014 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 Permissions_h
|
| +#define Permissions_h
|
| +
|
| +#include "bindings/core/v8/ScriptPromise.h"
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| +#include "platform/heap/Handle.h"
|
| +
|
| +namespace WTF {
|
| +class AtomicString;
|
| +} // namespace WTF
|
| +
|
| +namespace blink {
|
| +
|
| +class ScriptState;
|
| +
|
| +class Permissions final
|
| + : public GarbageCollectedFinalized<Permissions>
|
| + , public ScriptWrappable {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +public:
|
| + virtual ~Permissions();
|
| +
|
| + virtual void trace(Visitor*);
|
| +
|
| + static ScriptPromise query(ScriptState*, const AtomicString&);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // Permissions_h
|
|
|