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

Side by Side Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 11 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 15 matching lines...) Expand all
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "core/loader/DocumentLoader.h" 30 #include "core/loader/DocumentLoader.h"
31 31
32 #include "core/dom/Document.h" 32 #include "core/dom/Document.h"
33 #include "core/dom/DocumentParser.h" 33 #include "core/dom/DocumentParser.h"
34 #include "core/dom/WeakIdentifierMap.h" 34 #include "core/dom/WeakIdentifierMap.h"
35 #include "core/events/Event.h" 35 #include "core/events/Event.h"
36 #include "core/fetch/FetchInitiatorTypeNames.h"
37 #include "core/fetch/FetchRequest.h"
38 #include "core/fetch/FetchUtils.h"
39 #include "core/fetch/MemoryCache.h"
40 #include "core/fetch/ResourceFetcher.h"
41 #include "core/frame/Deprecation.h" 36 #include "core/frame/Deprecation.h"
42 #include "core/frame/FrameHost.h" 37 #include "core/frame/FrameHost.h"
43 #include "core/frame/LocalDOMWindow.h" 38 #include "core/frame/LocalDOMWindow.h"
44 #include "core/frame/LocalFrame.h" 39 #include "core/frame/LocalFrame.h"
45 #include "core/frame/Settings.h" 40 #include "core/frame/Settings.h"
46 #include "core/frame/csp/ContentSecurityPolicy.h" 41 #include "core/frame/csp/ContentSecurityPolicy.h"
47 #include "core/html/HTMLFrameOwnerElement.h" 42 #include "core/html/HTMLFrameOwnerElement.h"
48 #include "core/html/parser/HTMLDocumentParser.h" 43 #include "core/html/parser/HTMLDocumentParser.h"
49 #include "core/html/parser/TextResourceDecoder.h" 44 #include "core/html/parser/TextResourceDecoder.h"
50 #include "core/inspector/ConsoleMessage.h" 45 #include "core/inspector/ConsoleMessage.h"
51 #include "core/inspector/InspectorInstrumentation.h" 46 #include "core/inspector/InspectorInstrumentation.h"
52 #include "core/loader/FrameFetchContext.h" 47 #include "core/loader/FrameFetchContext.h"
53 #include "core/loader/FrameLoader.h" 48 #include "core/loader/FrameLoader.h"
54 #include "core/loader/FrameLoaderClient.h" 49 #include "core/loader/FrameLoaderClient.h"
55 #include "core/loader/LinkLoader.h" 50 #include "core/loader/LinkLoader.h"
56 #include "core/loader/NetworkHintsInterface.h" 51 #include "core/loader/NetworkHintsInterface.h"
57 #include "core/loader/ProgressTracker.h" 52 #include "core/loader/ProgressTracker.h"
58 #include "core/loader/appcache/ApplicationCacheHost.h" 53 #include "core/loader/appcache/ApplicationCacheHost.h"
59 #include "core/loader/resource/CSSStyleSheetResource.h" 54 #include "core/loader/resource/CSSStyleSheetResource.h"
60 #include "core/loader/resource/FontResource.h" 55 #include "core/loader/resource/FontResource.h"
61 #include "core/loader/resource/ImageResource.h" 56 #include "core/loader/resource/ImageResource.h"
62 #include "core/loader/resource/ScriptResource.h" 57 #include "core/loader/resource/ScriptResource.h"
63 #include "core/page/FrameTree.h" 58 #include "core/page/FrameTree.h"
64 #include "core/page/Page.h" 59 #include "core/page/Page.h"
65 #include "platform/HTTPNames.h" 60 #include "platform/HTTPNames.h"
66 #include "platform/UserGestureIndicator.h" 61 #include "platform/UserGestureIndicator.h"
62 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
63 #include "platform/loader/fetch/FetchRequest.h"
64 #include "platform/loader/fetch/FetchUtils.h"
65 #include "platform/loader/fetch/MemoryCache.h"
66 #include "platform/loader/fetch/ResourceFetcher.h"
67 #include "platform/mhtml/ArchiveResource.h" 67 #include "platform/mhtml/ArchiveResource.h"
68 #include "platform/network/ContentSecurityPolicyResponseHeaders.h" 68 #include "platform/network/ContentSecurityPolicyResponseHeaders.h"
69 #include "platform/network/HTTPParsers.h" 69 #include "platform/network/HTTPParsers.h"
70 #include "platform/network/mime/MIMETypeRegistry.h" 70 #include "platform/network/mime/MIMETypeRegistry.h"
71 #include "platform/plugins/PluginData.h" 71 #include "platform/plugins/PluginData.h"
72 #include "platform/weborigin/SchemeRegistry.h" 72 #include "platform/weborigin/SchemeRegistry.h"
73 #include "platform/weborigin/SecurityPolicy.h" 73 #include "platform/weborigin/SecurityPolicy.h"
74 #include "public/platform/Platform.h" 74 #include "public/platform/Platform.h"
75 #include "public/platform/WebDocumentSubresourceFilter.h" 75 #include "public/platform/WebDocumentSubresourceFilter.h"
76 #include "wtf/Assertions.h" 76 #include "wtf/Assertions.h"
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 m_writer ? m_writer->encoding() : emptyAtom, true, 813 m_writer ? m_writer->encoding() : emptyAtom, true,
814 ForceSynchronousParsing); 814 ForceSynchronousParsing);
815 if (!source.isNull()) 815 if (!source.isNull())
816 m_writer->appendReplacingData(source); 816 m_writer->appendReplacingData(source);
817 endWriting(); 817 endWriting();
818 } 818 }
819 819
820 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); 820 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader);
821 821
822 } // namespace blink 822 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698