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

Unified Diff: Source/bindings/core/v8/SerializedScriptValue.h

Issue 1301953002: WebMessaging: Show a warning when MessagePort attempts to send a transferable ArrayBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/bindings/core/v8/SerializedScriptValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/SerializedScriptValue.h
diff --git a/Source/bindings/core/v8/SerializedScriptValue.h b/Source/bindings/core/v8/SerializedScriptValue.h
index 284cc924e04fc335af20ed48d33a7eb6eedae87f..6bc87f8efeffda6023640101241e946e0f6f2481 100644
--- a/Source/bindings/core/v8/SerializedScriptValue.h
+++ b/Source/bindings/core/v8/SerializedScriptValue.h
@@ -97,6 +97,9 @@ public:
// The memory registration is revoked automatically in destructor.
void registerMemoryAllocatedWithCurrentScriptContext();
+ // Returns true if the value contains a transferable ArrayBuffer.
+ bool containsTransferableArrayBuffer();
haraken 2015/08/19 12:10:40 Add const.
nhiroki 2015/08/19 12:59:16 Done.
+
private:
// The followings are private, but used by SerializedScriptValueFactory.
enum StringDataMode {
« no previous file with comments | « no previous file | Source/bindings/core/v8/SerializedScriptValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698