OLD | NEW |
(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 "wtf/Noncopyable.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class SerializedScriptValueForModulesFactory final : public SerializedScriptValu
eFactory { |
| 14 WTF_MAKE_NONCOPYABLE(SerializedScriptValueForModulesFactory); |
| 15 public: |
| 16 SerializedScriptValueForModulesFactory() { } |
| 17 |
| 18 virtual PassRefPtr<SerializedScriptValue> create(v8::Handle<v8::Value>, Mess
agePortArray*, ArrayBufferArray*, ExceptionState&, v8::Isolate*) override; |
| 19 virtual PassRefPtr<SerializedScriptValue> createFromWire(const String&) over
ride; |
| 20 virtual PassRefPtr<SerializedScriptValue> create(const String&, v8::Isolate*
) override; |
| 21 virtual PassRefPtr<SerializedScriptValue> create() override; |
| 22 virtual PassRefPtr<SerializedScriptValue> create(const ScriptValue&, WebBlob
InfoArray*, ExceptionState&, v8::Isolate*) override; |
| 23 }; |
| 24 |
| 25 } // namespace blink |
| 26 |
| 27 #endif // SerializedScriptValueForModulesFactory_h |
| 28 |
OLD | NEW |