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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 BlobBytesConsumer_h 5 #ifndef BlobBytesConsumer_h
6 #define BlobBytesConsumer_h 6 #define BlobBytesConsumer_h
7 7
8 #include <memory>
8 #include "core/dom/ContextLifecycleObserver.h" 9 #include "core/dom/ContextLifecycleObserver.h"
9 #include "core/loader/ThreadableLoaderClient.h" 10 #include "core/loader/ThreadableLoaderClient.h"
10 #include "modules/ModulesExport.h" 11 #include "modules/ModulesExport.h"
11 #include "modules/fetch/BytesConsumer.h" 12 #include "modules/fetch/BytesConsumer.h"
12 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
13 #include "wtf/PassRefPtr.h" 14 #include "wtf/PassRefPtr.h"
14 #include "wtf/RefPtr.h" 15 #include "wtf/RefPtr.h"
15 #include <memory>
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class BlobDataHandle; 19 class BlobDataHandle;
20 class EncodedFormData; 20 class EncodedFormData;
21 class ExecutionContext; 21 class ExecutionContext;
22 class ThreadableLoader; 22 class ThreadableLoader;
23 class WebDataConsumerHandle; 23 class WebDataConsumerHandle;
24 24
25 // A BlobBytesConsumer is created from a blob handle and it will 25 // A BlobBytesConsumer is created from a blob handle and it will
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 PublicState m_state = PublicState::ReadableOrWaiting; 88 PublicState m_state = PublicState::ReadableOrWaiting;
89 // These two booleans are meaningful only when m_state is ReadableOrWaiting. 89 // These two booleans are meaningful only when m_state is ReadableOrWaiting.
90 bool m_hasSeenEndOfData = false; 90 bool m_hasSeenEndOfData = false;
91 bool m_hasFinishedLoading = false; 91 bool m_hasFinishedLoading = false;
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // BlobBytesConsumer_h 96 #endif // BlobBytesConsumer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/eventsource/EventSourceParser.h ('k') | third_party/WebKit/Source/modules/fetch/Body.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698