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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/FetchDataLoader.cpp

Issue 1875343002: Move WTF classes related to typed arrays to wtf/typed_arrays (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "modules/fetch/FetchDataLoader.h" 5 #include "modules/fetch/FetchDataLoader.h"
6 6
7 #include "core/html/parser/TextResourceDecoder.h" 7 #include "core/html/parser/TextResourceDecoder.h"
8 #include "wtf/ArrayBufferBuilder.h"
9 #include "wtf/text/StringBuilder.h" 8 #include "wtf/text/StringBuilder.h"
10 #include "wtf/text/WTFString.h" 9 #include "wtf/text/WTFString.h"
10 #include "wtf/typed_arrays/ArrayBufferBuilder.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 namespace { 14 namespace {
15 15
16 class FetchDataLoaderAsBlobHandle 16 class FetchDataLoaderAsBlobHandle
17 : public FetchDataLoader 17 : public FetchDataLoader
18 , public WebDataConsumerHandle::Client { 18 , public WebDataConsumerHandle::Client {
19 public: 19 public:
20 explicit FetchDataLoaderAsBlobHandle(const String& mimeType) 20 explicit FetchDataLoaderAsBlobHandle(const String& mimeType)
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 { 392 {
393 return new FetchDataLoaderAsString(); 393 return new FetchDataLoaderAsString();
394 } 394 }
395 395
396 FetchDataLoader* FetchDataLoader::createLoaderAsStream(Stream* outStream) 396 FetchDataLoader* FetchDataLoader::createLoaderAsStream(Stream* outStream)
397 { 397 {
398 return new FetchDataLoaderAsStream(outStream); 398 return new FetchDataLoaderAsStream(outStream);
399 } 399 }
400 400
401 } // namespace blink 401 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698