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

Side by Side Diff: third_party/WebKit/Source/core/streams/ReadableStream.js

Issue 1492763002: Add a utility class to call stream methods implemented with v8 extras. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8-extra-switch
Patch Set: Created 5 years 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 | « third_party/WebKit/Source/bindings/core/v8/v8.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 (function(global, binding, v8) { 5 (function(global, binding, v8) {
6 'use strict'; 6 'use strict';
7 7
8 const readableStreamController = v8.createPrivateSymbol('[[controller]]'); 8 const readableStreamController = v8.createPrivateSymbol('[[controller]]');
9 const readableStreamQueue = v8.createPrivateSymbol('[[queue]]'); 9 const readableStreamQueue = v8.createPrivateSymbol('[[queue]]');
10 const readableStreamQueueSize = 10 const readableStreamQueueSize =
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 value: ReadableStream, 754 value: ReadableStream,
755 enumerable: false, 755 enumerable: false,
756 configurable: true, 756 configurable: true,
757 writable: true 757 writable: true
758 }); 758 });
759 759
760 // 760 //
761 // Exports to Blink 761 // Exports to Blink
762 // 762 //
763 763
764 binding.AcquireReadableStreamReader = AcquireReadableStreamReader;
765 binding.IsReadableStream = IsReadableStream;
764 binding.IsReadableStreamDisturbed = IsReadableStreamDisturbed; 766 binding.IsReadableStreamDisturbed = IsReadableStreamDisturbed;
767 binding.IsReadableStreamLocked = IsReadableStreamLocked;
768 binding.IsReadableStreamReader = IsReadableStreamReader;
769 binding.ReadFromReadableStreamReader = ReadFromReadableStreamReader;
765 }); 770 });
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/v8.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698