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

Side by Side Diff: Source/modules/permissions/Permissions.h

Issue 1045283002: Implement PermissionDescriptor usage in Permissions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix typo Created 5 years, 8 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef Permissions_h 5 #ifndef Permissions_h
6 #define Permissions_h 6 #define Permissions_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 11
12 namespace WTF {
13 class AtomicString;
14 } // namespace WTF
15
16 namespace blink { 12 namespace blink {
17 13
18 class ScriptState; 14 class ScriptState;
15 class ScriptValue;
19 16
20 class Permissions final 17 class Permissions final
21 : public GarbageCollected<Permissions> 18 : public GarbageCollected<Permissions>
22 , public ScriptWrappable { 19 , public ScriptWrappable {
23 DEFINE_WRAPPERTYPEINFO(); 20 DEFINE_WRAPPERTYPEINFO();
24 public: 21 public:
25 DEFINE_INLINE_TRACE() { } 22 DEFINE_INLINE_TRACE() { }
26 23
27 ScriptPromise query(ScriptState*, const AtomicString&); 24 ScriptPromise query(ScriptState*, const ScriptValue&);
28 }; 25 };
29 26
30 } // namespace blink 27 } // namespace blink
31 28
32 #endif // Permissions_h 29 #endif // Permissions_h
OLDNEW
« no previous file with comments | « Source/modules/permissions/PermissionStatus.cpp ('k') | Source/modules/permissions/Permissions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698