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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h

Issue 2768113002: WIP: Create a LongStringCollection that transfers long strings with fewer copies.
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h
index b35d7a7e830435b56c4aeb22ba9af46d835c38a0..304679a5452a483c2c1fcf88814432816deac27c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h
+++ b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h
@@ -78,6 +78,8 @@ class GC_PLUGIN_IGNORE("https://crbug.com/644725")
v8::Maybe<uint32_t> GetSharedArrayBufferId(
v8::Isolate*,
v8::Local<v8::SharedArrayBuffer>) override;
+ v8::Maybe<uint32_t> GetLongStringId(v8::Isolate*,
+ v8::Local<v8::String>) override;
void* ReallocateBufferMemory(void* oldBuffer,
size_t,

Powered by Google App Engine
This is Rietveld 408576698