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

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

Issue 1033963002: Oilpan: finalization of Permissions and SyncManager not needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 { 12 namespace WTF {
13 class AtomicString; 13 class AtomicString;
14 } // namespace WTF 14 } // namespace WTF
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class ScriptState; 18 class ScriptState;
19 19
20 class Permissions final 20 class Permissions final
21 : public GarbageCollectedFinalized<Permissions> 21 : public GarbageCollected<Permissions>
22 , public ScriptWrappable { 22 , public ScriptWrappable {
23 DEFINE_WRAPPERTYPEINFO(); 23 DEFINE_WRAPPERTYPEINFO();
24 public: 24 public:
25 virtual ~Permissions(); 25 DEFINE_INLINE_TRACE() { }
26
27 DECLARE_VIRTUAL_TRACE();
28 26
29 ScriptPromise query(ScriptState*, const AtomicString&); 27 ScriptPromise query(ScriptState*, const AtomicString&);
30 }; 28 };
31 29
32 } // namespace blink 30 } // namespace blink
33 31
34 #endif // Permissions_h 32 #endif // Permissions_h
OLDNEW
« no previous file with comments | « Source/modules/background_sync/SyncManager.h ('k') | Source/modules/permissions/Permissions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698