| 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 #ifndef ScriptValueSerializerForModules_h | 5 #ifndef ScriptValueSerializerForModules_h |
| 6 #define ScriptValueSerializerForModules_h | 6 #define ScriptValueSerializerForModules_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptValueSerializer.h" | 8 #include "bindings/core/v8/ScriptValueSerializer.h" |
| 9 #include "modules/mediastream/RTCCertificate.h" | 9 #include "modules/peerconnection/RTCCertificate.h" |
| 10 #include "public/platform/WebCrypto.h" | 10 #include "public/platform/WebCrypto.h" |
| 11 #include "public/platform/WebCryptoKey.h" | 11 #include "public/platform/WebCryptoKey.h" |
| 12 #include "public/platform/WebCryptoKeyAlgorithm.h" | 12 #include "public/platform/WebCryptoKeyAlgorithm.h" |
| 13 #include <v8.h> | 13 #include <v8.h> |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class SerializedScriptValueWriterForModules final : public SerializedScriptValue
Writer { | 17 class SerializedScriptValueWriterForModules final : public SerializedScriptValue
Writer { |
| 18 STACK_ALLOCATED(); | 18 STACK_ALLOCATED(); |
| 19 WTF_MAKE_NONCOPYABLE(SerializedScriptValueWriterForModules); | 19 WTF_MAKE_NONCOPYABLE(SerializedScriptValueWriterForModules); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 public: | 89 public: |
| 90 ScriptValueDeserializerForModules(SerializedScriptValueReaderForModules&, Me
ssagePortArray* messagePorts, ArrayBufferContentsArray*, ImageBitmapContentsArra
y*); | 90 ScriptValueDeserializerForModules(SerializedScriptValueReaderForModules&, Me
ssagePortArray* messagePorts, ArrayBufferContentsArray*, ImageBitmapContentsArra
y*); |
| 91 | 91 |
| 92 private: | 92 private: |
| 93 bool read(v8::Local<v8::Value>*) override; | 93 bool read(v8::Local<v8::Value>*) override; |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace blink | 96 } // namespace blink |
| 97 | 97 |
| 98 #endif // ScriptValueSerializerForModules_h | 98 #endif // ScriptValueSerializerForModules_h |
| OLD | NEW |