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

Side by Side Diff: Source/core/streams/ReadableStreamReader.h

Issue 1107793002: Oilpan: have DOMException be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/streams/ReadableStreamImpl.h ('k') | Source/modules/background_sync/SyncError.h » ('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 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 #ifndef ReadableStreamReader_h 5 #ifndef ReadableStreamReader_h
6 #define ReadableStreamReader_h 6 #define ReadableStreamReader_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptPromiseProperty.h" 9 #include "bindings/core/v8/ScriptPromiseProperty.h"
10 #include "bindings/core/v8/ScriptValue.h" 10 #include "bindings/core/v8/ScriptValue.h"
(...skipping 27 matching lines...) Expand all
38 ScriptPromise read(ScriptState*); 38 ScriptPromise read(ScriptState*);
39 void releaseLock(ExceptionState&); 39 void releaseLock(ExceptionState&);
40 void releaseLock(); 40 void releaseLock();
41 41
42 bool hasPendingActivity() const override; 42 bool hasPendingActivity() const override;
43 void stop() override; 43 void stop() override;
44 44
45 DECLARE_TRACE(); 45 DECLARE_TRACE();
46 46
47 private: 47 private:
48 using ClosedPromise = ScriptPromiseProperty<Member<ReadableStreamReader>, To V8UndefinedGenerator, RefPtrWillBeMember<DOMException>>; 48 using ClosedPromise = ScriptPromiseProperty<Member<ReadableStreamReader>, To V8UndefinedGenerator, Member<DOMException>>;
49 49
50 const Member<ReadableStream> m_stream; 50 const Member<ReadableStream> m_stream;
51 ReadableStream::State m_stateAfterRelease; 51 ReadableStream::State m_stateAfterRelease;
52 Member<ClosedPromise> m_closed; 52 Member<ClosedPromise> m_closed;
53 }; 53 };
54 54
55 } // namespace blink 55 } // namespace blink
56 56
57 #endif // ReadableStreamReader_h 57 #endif // ReadableStreamReader_h
OLDNEW
« no previous file with comments | « Source/core/streams/ReadableStreamImpl.h ('k') | Source/modules/background_sync/SyncError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698