| OLD | NEW |
| 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 #include "bindings/modules/v8/SerializedScriptValueForModulesFactory.h" | 5 #include "bindings/modules/v8/serialization/SerializedScriptValueForModulesFacto
ry.h" |
| 6 | 6 |
| 7 #include "bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.
h" | 7 #include "bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.
h" |
| 8 #include "bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.h" | 8 #include "bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.h" |
| 9 #include "platform/instrumentation/tracing/TraceEvent.h" | 9 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 PassRefPtr<SerializedScriptValue> | 13 PassRefPtr<SerializedScriptValue> |
| 14 SerializedScriptValueForModulesFactory::Create( | 14 SerializedScriptValueForModulesFactory::Create( |
| 15 v8::Isolate* isolate, | 15 v8::Isolate* isolate, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 26 SerializedScriptValue* value, | 26 SerializedScriptValue* value, |
| 27 v8::Isolate* isolate, | 27 v8::Isolate* isolate, |
| 28 const SerializedScriptValue::DeserializeOptions& options) { | 28 const SerializedScriptValue::DeserializeOptions& options) { |
| 29 TRACE_EVENT0("blink", "SerializedScriptValueFactory::deserialize"); | 29 TRACE_EVENT0("blink", "SerializedScriptValueFactory::deserialize"); |
| 30 V8ScriptValueDeserializerForModules deserializer( | 30 V8ScriptValueDeserializerForModules deserializer( |
| 31 ScriptState::Current(isolate), value, options); | 31 ScriptState::Current(isolate), value, options); |
| 32 return deserializer.Deserialize(); | 32 return deserializer.Deserialize(); |
| 33 } | 33 } |
| 34 | 34 |
| 35 } // namespace blink | 35 } // namespace blink |
| OLD | NEW |