OLD | NEW |
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 #include "core/streams/ReadableStream.h" | 5 #include "core/streams/ReadableStream.h" |
6 | 6 |
7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
8 #include "bindings/core/v8/ScriptFunction.h" | 8 #include "bindings/core/v8/ScriptFunction.h" |
9 #include "bindings/core/v8/ScriptPromiseResolver.h" | 9 #include "bindings/core/v8/ScriptPromiseResolver.h" |
10 #include "bindings/core/v8/V8Binding.h" | 10 #include "bindings/core/v8/V8Binding.h" |
11 #include "core/dom/DOMException.h" | 11 #include "core/dom/DOMException.h" |
12 #include "core/dom/ExceptionCode.h" | |
13 #include "core/streams/ReadableStreamReader.h" | 12 #include "core/streams/ReadableStreamReader.h" |
14 #include "core/streams/UnderlyingSource.h" | 13 #include "core/streams/UnderlyingSource.h" |
15 | 14 |
16 namespace blink { | 15 namespace blink { |
17 | 16 |
18 namespace { | 17 namespace { |
19 | 18 |
20 class ConstUndefined : public ScriptFunction { | 19 class ConstUndefined : public ScriptFunction { |
21 public: | 20 public: |
22 static v8::Local<v8::Function> create(ScriptState* scriptState) | 21 static v8::Local<v8::Function> create(ScriptState* scriptState) |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 } | 182 } |
184 | 183 |
185 DEFINE_TRACE(ReadableStream) | 184 DEFINE_TRACE(ReadableStream) |
186 { | 185 { |
187 visitor->trace(m_source); | 186 visitor->trace(m_source); |
188 visitor->trace(m_exception); | 187 visitor->trace(m_exception); |
189 visitor->trace(m_reader); | 188 visitor->trace(m_reader); |
190 } | 189 } |
191 | 190 |
192 } // namespace blink | 191 } // namespace blink |
OLD | NEW |