Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 Permissions_h | |
| 6 #define Permissions_h | |
| 7 | |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 | |
|
Peter Beverloo
2014/12/01 11:30:35
+ bindings/core/v8/ScriptPromise.h
+ platform/heap
mlamouri (slow - plz ping)
2014/12/01 12:36:00
Done. I fwd declared AtomicString.
| |
| 10 namespace blink { | |
| 11 | |
| 12 class ScriptState; | |
| 13 class ScriptPromise; | |
| 14 | |
| 15 class Permissions final | |
| 16 : public GarbageCollectedFinalized<Permissions> | |
| 17 , public ScriptWrappable { | |
| 18 DEFINE_WRAPPERTYPEINFO(); | |
| 19 public: | |
| 20 virtual ~Permissions(); | |
| 21 | |
| 22 virtual void trace(Visitor*); | |
| 23 | |
| 24 static ScriptPromise query(ScriptState*, const AtomicString&); | |
| 25 }; | |
| 26 | |
| 27 } // namespace blink | |
| 28 | |
| 29 #endif // Permissions_h | |
| OLD | NEW |