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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 V8ScriptValueSerializer_h 5 #ifndef V8ScriptValueSerializer_h
6 #define V8ScriptValueSerializer_h 6 #define V8ScriptValueSerializer_h
7 7
8 #include <v8.h>
8 #include "bindings/core/v8/ExceptionState.h" 9 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/ScriptState.h" 10 #include "bindings/core/v8/ScriptState.h"
10 #include "bindings/core/v8/SerializationTag.h" 11 #include "bindings/core/v8/SerializationTag.h"
11 #include "bindings/core/v8/SerializedScriptValue.h" 12 #include "bindings/core/v8/SerializedScriptValue.h"
12 #include "core/CoreExport.h" 13 #include "core/CoreExport.h"
13 #include "wtf/Allocator.h" 14 #include "wtf/Allocator.h"
14 #include "wtf/Noncopyable.h" 15 #include "wtf/Noncopyable.h"
15 #include "wtf/RefPtr.h" 16 #include "wtf/RefPtr.h"
16 #include <v8.h>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class File; 20 class File;
21 class Transferables; 21 class Transferables;
22 22
23 // Serializes V8 values according to the HTML structured clone algorithm: 23 // Serializes V8 values according to the HTML structured clone algorithm:
24 // https://html.spec.whatwg.org/multipage/infrastructure.html#structured-clone 24 // https://html.spec.whatwg.org/multipage/infrastructure.html#structured-clone
25 // 25 //
26 // Supports only basic JavaScript objects and core DOM types. Support for 26 // Supports only basic JavaScript objects and core DOM types. Support for
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 ArrayBufferArray m_sharedArrayBuffers; 98 ArrayBufferArray m_sharedArrayBuffers;
99 99
100 #if DCHECK_IS_ON() 100 #if DCHECK_IS_ON()
101 bool m_serializeInvoked = false; 101 bool m_serializeInvoked = false;
102 #endif 102 #endif
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 #endif // V8ScriptValueSerializer_h 107 #endif // V8ScriptValueSerializer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698