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

Side by Side Diff: Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h

Issue 1117753005: Replace v8::Handle with v8::Local in Source/bindings/* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 SerializedScriptValueForModulesFactory_h 5 #ifndef SerializedScriptValueForModulesFactory_h
6 #define SerializedScriptValueForModulesFactory_h 6 #define SerializedScriptValueForModulesFactory_h
7 7
8 #include "bindings/core/v8/SerializedScriptValueFactory.h" 8 #include "bindings/core/v8/SerializedScriptValueFactory.h"
9 #include "wtf/Noncopyable.h" 9 #include "wtf/Noncopyable.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class SerializedScriptValueForModulesFactory final : public SerializedScriptValu eFactory { 13 class SerializedScriptValueForModulesFactory final : public SerializedScriptValu eFactory {
14 WTF_MAKE_NONCOPYABLE(SerializedScriptValueForModulesFactory); 14 WTF_MAKE_NONCOPYABLE(SerializedScriptValueForModulesFactory);
15 public: 15 public:
16 SerializedScriptValueForModulesFactory() : SerializedScriptValueFactory() { } 16 SerializedScriptValueForModulesFactory() : SerializedScriptValueFactory() { }
17 17
18 virtual PassRefPtr<SerializedScriptValue> create(v8::Handle<v8::Value>, Mess agePortArray*, ArrayBufferArray*, WebBlobInfoArray*, ExceptionState&, v8::Isolat e*) override; 18 virtual PassRefPtr<SerializedScriptValue> create(v8::Local<v8::Value>, Messa gePortArray*, ArrayBufferArray*, WebBlobInfoArray*, ExceptionState&, v8::Isolate *) override;
19 virtual PassRefPtr<SerializedScriptValue> create(const String&, v8::Isolate* ) override; 19 virtual PassRefPtr<SerializedScriptValue> create(const String&, v8::Isolate* ) override;
20 20
21 protected: 21 protected:
22 virtual ScriptValueSerializer::Status doSerialize(v8::Handle<v8::Value>, Ser ializedScriptValueWriter&, MessagePortArray*, ArrayBufferArray*, WebBlobInfoArra y*, BlobDataHandleMap&, v8::TryCatch&, String& errorMessage, v8::Isolate*) overr ide; 22 virtual ScriptValueSerializer::Status doSerialize(v8::Local<v8::Value>, Seri alizedScriptValueWriter&, MessagePortArray*, ArrayBufferArray*, WebBlobInfoArray *, BlobDataHandleMap&, v8::TryCatch&, String& errorMessage, v8::Isolate*) overri de;
23 23
24 virtual v8::Handle<v8::Value> deserialize(String& data, BlobDataHandleMap& b lobDataHandles, ArrayBufferContentsArray*, v8::Isolate*, MessagePortArray* messa gePorts, const WebBlobInfoArray*) override; 24 virtual v8::Local<v8::Value> deserialize(String& data, BlobDataHandleMap& bl obDataHandles, ArrayBufferContentsArray*, v8::Isolate*, MessagePortArray* messag ePorts, const WebBlobInfoArray*) override;
25 }; 25 };
26 26
27 } // namespace blink 27 } // namespace blink
28 28
29 #endif // SerializedScriptValueForModulesFactory_h 29 #endif // SerializedScriptValueForModulesFactory_h
30 30
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698