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

Side by Side Diff: Source/modules/fetch/Body.h

Issue 1233173002: Have ScriptPromiseResolver on the Oilpan heap always. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tidy unit tests Created 5 years, 5 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
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 Body_h 5 #ifndef Body_h
6 #define Body_h 6 #define Body_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
10 #include "bindings/core/v8/ScriptWrappable.h" 10 #include "bindings/core/v8/ScriptWrappable.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // FetchDataLoader::Client functions. 91 // FetchDataLoader::Client functions.
92 void didFetchDataLoadFailed() override; 92 void didFetchDataLoadFailed() override;
93 void didFetchDataLoadedBlobHandle(PassRefPtr<BlobDataHandle>) override; 93 void didFetchDataLoadedBlobHandle(PassRefPtr<BlobDataHandle>) override;
94 void didFetchDataLoadedArrayBuffer(PassRefPtr<DOMArrayBuffer>) override; 94 void didFetchDataLoadedArrayBuffer(PassRefPtr<DOMArrayBuffer>) override;
95 void didFetchDataLoadedString(const String&) override; 95 void didFetchDataLoadedString(const String&) override;
96 96
97 virtual String mimeType() const = 0; 97 virtual String mimeType() const = 0;
98 98
99 bool m_bodyUsed; 99 bool m_bodyUsed;
100 ResponseType m_responseType; 100 ResponseType m_responseType;
101 RefPtrWillBeMember<ScriptPromiseResolver> m_resolver; 101 Member<ScriptPromiseResolver> m_resolver;
102 Member<ReadableStreamSource> m_streamSource; 102 Member<ReadableStreamSource> m_streamSource;
103 Member<ReadableByteStream> m_stream; 103 Member<ReadableByteStream> m_stream;
104 }; 104 };
105 105
106 } // namespace blink 106 } // namespace blink
107 107
108 #endif // Body_h 108 #endif // Body_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698