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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h

Issue 2857143005: Gather serialization-related code into a directory. (Closed)
Patch Set: Created 3 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SerializedScriptValueForModulesFactory_h
6 #define SerializedScriptValueForModulesFactory_h
7
8 #include "bindings/core/v8/SerializedScriptValueFactory.h"
9 #include "platform/wtf/Noncopyable.h"
10
11 namespace blink {
12
13 class SerializedScriptValueForModulesFactory final
14 : public SerializedScriptValueFactory {
15 USING_FAST_MALLOC(SerializedScriptValueForModulesFactory);
16 WTF_MAKE_NONCOPYABLE(SerializedScriptValueForModulesFactory);
17
18 public:
19 SerializedScriptValueForModulesFactory() : SerializedScriptValueFactory() {}
20
21 protected:
22 PassRefPtr<SerializedScriptValue> Create(
23 v8::Isolate*,
24 v8::Local<v8::Value>,
25 const SerializedScriptValue::SerializeOptions&,
26 ExceptionState&) override;
27
28 v8::Local<v8::Value> Deserialize(
29 SerializedScriptValue*,
30 v8::Isolate*,
31 const SerializedScriptValue::DeserializeOptions&) override;
32 };
33
34 } // namespace blink
35
36 #endif // SerializedScriptValueForModulesFactory_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698