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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 BodyStreamBuffer_h 5 #ifndef BodyStreamBuffer_h
6 #define BodyStreamBuffer_h 6 #define BodyStreamBuffer_h
7 7
8 #include <memory>
8 #include "bindings/core/v8/ScriptPromise.h" 9 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptValue.h" 10 #include "bindings/core/v8/ScriptValue.h"
10 #include "core/dom/DOMException.h" 11 #include "core/dom/DOMException.h"
11 #include "core/streams/UnderlyingSourceBase.h" 12 #include "core/streams/UnderlyingSourceBase.h"
12 #include "modules/ModulesExport.h" 13 #include "modules/ModulesExport.h"
13 #include "modules/fetch/BytesConsumer.h" 14 #include "modules/fetch/BytesConsumer.h"
14 #include "modules/fetch/FetchDataLoader.h" 15 #include "modules/fetch/FetchDataLoader.h"
15 #include "platform/heap/Handle.h" 16 #include "platform/heap/Handle.h"
16 #include "public/platform/WebDataConsumerHandle.h" 17 #include "public/platform/WebDataConsumerHandle.h"
17 #include <memory>
18 18
19 namespace blink { 19 namespace blink {
20 20
21 class EncodedFormData; 21 class EncodedFormData;
22 class ScriptState; 22 class ScriptState;
23 23
24 class MODULES_EXPORT BodyStreamBuffer final : public UnderlyingSourceBase, 24 class MODULES_EXPORT BodyStreamBuffer final : public UnderlyingSourceBase,
25 public BytesConsumer::Client { 25 public BytesConsumer::Client {
26 WTF_MAKE_NONCOPYABLE(BodyStreamBuffer); 26 WTF_MAKE_NONCOPYABLE(BodyStreamBuffer);
27 USING_GARBAGE_COLLECTED_MIXIN(BodyStreamBuffer); 27 USING_GARBAGE_COLLECTED_MIXIN(BodyStreamBuffer);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 Member<BytesConsumer> m_consumer; 81 Member<BytesConsumer> m_consumer;
82 // We need this member to keep it alive while loading. 82 // We need this member to keep it alive while loading.
83 Member<FetchDataLoader> m_loader; 83 Member<FetchDataLoader> m_loader;
84 bool m_streamNeedsMore = false; 84 bool m_streamNeedsMore = false;
85 bool m_madeFromReadableStream; 85 bool m_madeFromReadableStream;
86 }; 86 };
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif // BodyStreamBuffer_h 90 #endif // BodyStreamBuffer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Body.cpp ('k') | third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698