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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h

Issue 2721533003: //third_party/WebKit/Source/bindings: include v8 as a user, not system, header (Closed)
Patch Set: . Created 3 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 ScriptPromisePropertyBase_h 5 #ifndef ScriptPromisePropertyBase_h
6 #define ScriptPromisePropertyBase_h 6 #define ScriptPromisePropertyBase_h
7 7
8 #include <memory>
9
8 #include "bindings/core/v8/ScopedPersistent.h" 10 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/ScriptPromise.h" 11 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/ScriptPromiseProperties.h" 12 #include "bindings/core/v8/ScriptPromiseProperties.h"
11 #include "core/CoreExport.h" 13 #include "core/CoreExport.h"
12 #include "core/dom/ContextLifecycleObserver.h" 14 #include "core/dom/ContextLifecycleObserver.h"
15 #include "v8/include/v8.h"
13 #include "wtf/Compiler.h" 16 #include "wtf/Compiler.h"
14 #include "wtf/RefCounted.h" 17 #include "wtf/RefCounted.h"
15 #include "wtf/Vector.h" 18 #include "wtf/Vector.h"
16 #include <memory>
17 #include <v8.h>
18 19
19 namespace blink { 20 namespace blink {
20 21
21 class DOMWrapperWorld; 22 class DOMWrapperWorld;
22 class ExecutionContext; 23 class ExecutionContext;
23 class ScriptState; 24 class ScriptState;
24 25
25 // TODO(yhirano): Remove NEVER_INLINE once we find the cause of crashes. 26 // TODO(yhirano): Remove NEVER_INLINE once we find the cause of crashes.
26 class CORE_EXPORT ScriptPromisePropertyBase 27 class CORE_EXPORT ScriptPromisePropertyBase
27 : public GarbageCollectedFinalized<ScriptPromisePropertyBase>, 28 : public GarbageCollectedFinalized<ScriptPromisePropertyBase>,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 v8::Isolate* m_isolate; 89 v8::Isolate* m_isolate;
89 Name m_name; 90 Name m_name;
90 State m_state; 91 State m_state;
91 92
92 WeakPersistentSet m_wrappers; 93 WeakPersistentSet m_wrappers;
93 }; 94 };
94 95
95 } // namespace blink 96 } // namespace blink
96 97
97 #endif // ScriptPromisePropertyBase_h 98 #endif // ScriptPromisePropertyBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698