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

Unified Diff: Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.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/SerializedScriptValueForModulesFactory.h
diff --git a/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h b/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
new file mode 100644
index 0000000000000000000000000000000000000000..07ba9fe4d19cd65b54a0fcee4220cdf9f64c16f9
--- /dev/null
+++ b/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.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 SerializedScriptValueForModulesFactory_h
+#define SerializedScriptValueForModulesFactory_h
+
+#include "bindings/core/v8/SerializedScriptValueFactory.h"
+#include "wtf/Noncopyable.h"
+
+namespace blink {
+
+class SerializedScriptValueForModulesFactory : public SerializedScriptValueFactory {
haraken 2014/11/17 01:27:50 Add final.
tasak 2014/11/17 08:42:30 Done.
+ WTF_MAKE_NONCOPYABLE(SerializedScriptValueForModulesFactory);
+public:
+ SerializedScriptValueForModulesFactory() { }
+
+ virtual PassRefPtr<SerializedScriptValue> create(v8::Handle<v8::Value>, MessagePortArray*, ArrayBufferArray*, ExceptionState&, v8::Isolate*) override;
+ virtual PassRefPtr<SerializedScriptValue> createFromWire(const String&) override;
+ virtual PassRefPtr<SerializedScriptValue> create(const String&, v8::Isolate*) override;
+ virtual PassRefPtr<SerializedScriptValue> create() override;
+ virtual PassRefPtr<SerializedScriptValue> create(const ScriptValue&, WebBlobInfoArray*, ExceptionState&, v8::Isolate*) override;
+};
+
+} // namespace blink
+
+#endif // SerializedScriptValueForModulesFactory_h
+

Powered by Google App Engine
This is Rietveld 408576698