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

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

Issue 2804753005: Rewrite references to "wtf/" to "platform/wtf/" in bindings. (Closed)
Patch Set: Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 V8PrivateProperty_h 5 #ifndef V8PrivateProperty_h
6 #define V8PrivateProperty_h 6 #define V8PrivateProperty_h
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "bindings/core/v8/ScriptPromiseProperties.h" 10 #include "bindings/core/v8/ScriptPromiseProperties.h"
11 #include "bindings/core/v8/V8BindingMacros.h" 11 #include "bindings/core/v8/V8BindingMacros.h"
12 #include "bindings/core/v8/V8PerIsolateData.h" 12 #include "bindings/core/v8/V8PerIsolateData.h"
13 #include "core/CoreExport.h" 13 #include "core/CoreExport.h"
14 #include "platform/wtf/Allocator.h"
15 #include "platform/wtf/PtrUtil.h"
14 #include "v8/include/v8.h" 16 #include "v8/include/v8.h"
15 #include "wtf/Allocator.h"
16 #include "wtf/PtrUtil.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class ScriptWrappable; 20 class ScriptWrappable;
21 21
22 // TODO(peria): Remove properties just to keep V8 objects alive. 22 // TODO(peria): Remove properties just to keep V8 objects alive.
23 // e.g. InternalBody.Buffer, InternalBody.Stream, IDBCursor.Request, 23 // e.g. InternalBody.Buffer, InternalBody.Stream, IDBCursor.Request,
24 // FetchEvent.Request. 24 // FetchEvent.Request.
25 // Apply |X| for each pair of (InterfaceName, PrivateKeyName). 25 // Apply |X| for each pair of (InterfaceName, PrivateKeyName).
26 #define V8_PRIVATE_PROPERTY_FOR_EACH(X) \ 26 #define V8_PRIVATE_PROPERTY_FOR_EACH(X) \
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // TODO(peria): Do not use this specialized hack for 211 // TODO(peria): Do not use this specialized hack for
212 // Window#DocumentCachedAccessor. This is required to put v8::Private key in 212 // Window#DocumentCachedAccessor. This is required to put v8::Private key in
213 // a snapshot, and it cannot be a v8::Eternal<> due to V8 serializer's 213 // a snapshot, and it cannot be a v8::Eternal<> due to V8 serializer's
214 // requirement. 214 // requirement.
215 ScopedPersistent<v8::Private> m_symbolWindowDocumentCachedAccessor; 215 ScopedPersistent<v8::Private> m_symbolWindowDocumentCachedAccessor;
216 }; 216 };
217 217
218 } // namespace blink 218 } // namespace blink
219 219
220 #endif // V8PrivateProperty_h 220 #endif // V8PrivateProperty_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698