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 "config.h" | |
6 #include "modules/fetch/BodyStreamBuffer.h" | 5 #include "modules/fetch/BodyStreamBuffer.h" |
7 | 6 |
8 #include "core/dom/DOMArrayBuffer.h" | 7 #include "core/dom/DOMArrayBuffer.h" |
9 #include "core/dom/DOMTypedArray.h" | 8 #include "core/dom/DOMTypedArray.h" |
10 #include "core/dom/ExceptionCode.h" | 9 #include "core/dom/ExceptionCode.h" |
11 #include "modules/fetch/DataConsumerHandleUtil.h" | 10 #include "modules/fetch/DataConsumerHandleUtil.h" |
12 #include "platform/blob/BlobData.h" | 11 #include "platform/blob/BlobData.h" |
13 #include "platform/network/EncodedFormData.h" | 12 #include "platform/network/EncodedFormData.h" |
14 | 13 |
15 namespace blink { | 14 namespace blink { |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 241 |
243 void BodyStreamBuffer::stopLoading() | 242 void BodyStreamBuffer::stopLoading() |
244 { | 243 { |
245 if (!m_loader) | 244 if (!m_loader) |
246 return; | 245 return; |
247 m_loader->cancel(); | 246 m_loader->cancel(); |
248 m_loader = nullptr; | 247 m_loader = nullptr; |
249 } | 248 } |
250 | 249 |
251 } // namespace blink | 250 } // namespace blink |
OLD | NEW |