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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 BytesConsumer_h 5 #ifndef BytesConsumer_h
6 #define BytesConsumer_h 6 #define BytesConsumer_h
7 7
8 #include "modules/ModulesExport.h" 8 #include "modules/ModulesExport.h"
9 #include "platform/blob/BlobData.h" 9 #include "platform/blob/BlobData.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "platform/network/EncodedFormData.h" 11 #include "platform/network/EncodedFormData.h"
12 #include "wtf/Compiler.h" 12 #include "platform/wtf/Compiler.h"
13 #include "wtf/PassRefPtr.h" 13 #include "platform/wtf/PassRefPtr.h"
14 #include "wtf/text/WTFString.h" 14 #include "platform/wtf/text/WTFString.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class ExecutionContext; 18 class ExecutionContext;
19 19
20 // BytesConsumer represents the "consumer" side of a data pipe. A user 20 // BytesConsumer represents the "consumer" side of a data pipe. A user
21 // can read data from it. 21 // can read data from it.
22 // 22 //
23 // A BytesConsumer is bound to the thread on which it is created. 23 // A BytesConsumer is bound to the thread on which it is created.
24 // BytesConsumer has four states: waiting, readable, closed and errored. Once 24 // BytesConsumer has four states: waiting, readable, closed and errored. Once
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 return PublicState::kErrored; 184 return PublicState::kErrored;
185 } 185 }
186 NOTREACHED(); 186 NOTREACHED();
187 return PublicState::kReadableOrWaiting; 187 return PublicState::kReadableOrWaiting;
188 } 188 }
189 }; 189 };
190 190
191 } // namespace blink 191 } // namespace blink
192 192
193 #endif // BytesConsumer_h 193 #endif // BytesConsumer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698