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

Unified Diff: Source/bindings/modules/v8/SerializedScriptValueForModules.h

Issue 718383003: bindings: fixed incorrect dependency of SerializedScriptValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/modules/v8/SerializedScriptValueForModules.h
diff --git a/Source/bindings/modules/v8/SerializedScriptValueForModules.h b/Source/bindings/modules/v8/SerializedScriptValueForModules.h
new file mode 100644
index 0000000000000000000000000000000000000000..6b13ddd6baa59c4ebb1ff27cf1e76c491b94e145
--- /dev/null
+++ b/Source/bindings/modules/v8/SerializedScriptValueForModules.h
@@ -0,0 +1,28 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SerializedScriptValueForModules_h
+#define SerializedScriptValueForModules_h
+
+#include "bindings/core/v8/SerializedScriptValue.h"
+
+namespace blink {
+
+class SerializedScriptValueForModules final : public SerializedScriptValue {
+public:
+ virtual v8::Handle<v8::Value> deserialize(v8::Isolate*, MessagePortArray* = 0, const WebBlobInfoArray* = 0) override;
+
+private:
+ SerializedScriptValueForModules() { }
+ SerializedScriptValueForModules(v8::Handle<v8::Value>, MessagePortArray* messagePorts, ArrayBufferArray* arrayBuffers, WebBlobInfoArray*, ExceptionState&, v8::Isolate*);
+ SerializedScriptValueForModules(const String& wireData)
haraken 2014/11/17 01:27:50 Add explicit.
tasak 2014/11/17 08:42:30 Done.
+ : SerializedScriptValue(wireData) { }
+
+ friend class SerializedScriptValueForModulesFactory;
+};
+
+} // namespace blink
+
+#endif
+

Powered by Google App Engine
This is Rietveld 408576698