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

Side by Side Diff: Source/core/fileapi/FileReaderLoader.cpp

Issue 29123004: Move core/platform/network to platform/network (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more file Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/fetch/ResourceLoaderHost.h ('k') | Source/core/frame/ContentSecurityPolicy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 32
33 #include "core/fileapi/FileReaderLoader.h" 33 #include "core/fileapi/FileReaderLoader.h"
34 34
35 #include "FetchInitiatorTypeNames.h" 35 #include "FetchInitiatorTypeNames.h"
36 #include "core/dom/ExecutionContext.h" 36 #include "core/dom/ExecutionContext.h"
37 #include "core/fetch/TextResourceDecoder.h" 37 #include "core/fetch/TextResourceDecoder.h"
38 #include "core/fileapi/Blob.h" 38 #include "core/fileapi/Blob.h"
39 #include "core/fileapi/FileReaderLoaderClient.h" 39 #include "core/fileapi/FileReaderLoaderClient.h"
40 #include "core/fileapi/Stream.h" 40 #include "core/fileapi/Stream.h"
41 #include "core/loader/ThreadableLoader.h" 41 #include "core/loader/ThreadableLoader.h"
42 #include "core/platform/network/ResourceRequest.h"
43 #include "core/platform/network/ResourceResponse.h"
44 #include "platform/blob/BlobRegistry.h" 42 #include "platform/blob/BlobRegistry.h"
45 #include "platform/blob/BlobURL.h" 43 #include "platform/blob/BlobURL.h"
44 #include "platform/network/ResourceRequest.h"
45 #include "platform/network/ResourceResponse.h"
46 #include "wtf/ArrayBuffer.h" 46 #include "wtf/ArrayBuffer.h"
47 #include "wtf/PassOwnPtr.h" 47 #include "wtf/PassOwnPtr.h"
48 #include "wtf/PassRefPtr.h" 48 #include "wtf/PassRefPtr.h"
49 #include "wtf/RefPtr.h" 49 #include "wtf/RefPtr.h"
50 #include "wtf/Vector.h" 50 #include "wtf/Vector.h"
51 #include "wtf/text/Base64.h" 51 #include "wtf/text/Base64.h"
52 #include "wtf/text/StringBuilder.h" 52 #include "wtf/text/StringBuilder.h"
53 53
54 using namespace std; 54 using namespace std;
55 55
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 m_stringResult = builder.toString(); 394 m_stringResult = builder.toString();
395 } 395 }
396 396
397 void FileReaderLoader::setEncoding(const String& encoding) 397 void FileReaderLoader::setEncoding(const String& encoding)
398 { 398 {
399 if (!encoding.isEmpty()) 399 if (!encoding.isEmpty())
400 m_encoding = WTF::TextEncoding(encoding); 400 m_encoding = WTF::TextEncoding(encoding);
401 } 401 }
402 402
403 } // namespace WebCore 403 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceLoaderHost.h ('k') | Source/core/frame/ContentSecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698