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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: rebase 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) 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 #include "core/html/parser/HTMLDocumentParser.h" 26 #include "core/html/parser/HTMLDocumentParser.h"
27 27
28 #include "bindings/core/v8/DocumentWriteEvaluator.h" 28 #include "bindings/core/v8/DocumentWriteEvaluator.h"
29 #include "core/HTMLNames.h" 29 #include "core/HTMLNames.h"
30 #include "core/css/MediaValuesCached.h" 30 #include "core/css/MediaValuesCached.h"
31 #include "core/css/resolver/StyleResolver.h" 31 #include "core/css/resolver/StyleResolver.h"
32 #include "core/dom/DocumentFragment.h" 32 #include "core/dom/DocumentFragment.h"
33 #include "core/dom/Element.h" 33 #include "core/dom/Element.h"
34 #include "core/dom/TaskRunnerHelper.h" 34 #include "core/dom/TaskRunnerHelper.h"
35 #include "core/fetch/ResourceFetcher.h"
36 #include "core/frame/LocalFrame.h" 35 #include "core/frame/LocalFrame.h"
37 #include "core/frame/Settings.h" 36 #include "core/frame/Settings.h"
38 #include "core/html/HTMLDocument.h" 37 #include "core/html/HTMLDocument.h"
39 #include "core/html/parser/AtomicHTMLToken.h" 38 #include "core/html/parser/AtomicHTMLToken.h"
40 #include "core/html/parser/BackgroundHTMLParser.h" 39 #include "core/html/parser/BackgroundHTMLParser.h"
41 #include "core/html/parser/HTMLParserScheduler.h" 40 #include "core/html/parser/HTMLParserScheduler.h"
42 #include "core/html/parser/HTMLParserScriptRunner.h" 41 #include "core/html/parser/HTMLParserScriptRunner.h"
43 #include "core/html/parser/HTMLParserThread.h" 42 #include "core/html/parser/HTMLParserThread.h"
44 #include "core/html/parser/HTMLResourcePreloader.h" 43 #include "core/html/parser/HTMLResourcePreloader.h"
45 #include "core/html/parser/HTMLTreeBuilder.h" 44 #include "core/html/parser/HTMLTreeBuilder.h"
46 #include "core/inspector/InspectorInstrumentation.h" 45 #include "core/inspector/InspectorInstrumentation.h"
47 #include "core/inspector/InspectorTraceEvents.h" 46 #include "core/inspector/InspectorTraceEvents.h"
48 #include "core/loader/DocumentLoader.h" 47 #include "core/loader/DocumentLoader.h"
49 #include "core/loader/LinkLoader.h" 48 #include "core/loader/LinkLoader.h"
50 #include "core/loader/NavigationScheduler.h" 49 #include "core/loader/NavigationScheduler.h"
51 #include "platform/CrossThreadFunctional.h" 50 #include "platform/CrossThreadFunctional.h"
52 #include "platform/Histogram.h" 51 #include "platform/Histogram.h"
53 #include "platform/SharedBuffer.h" 52 #include "platform/SharedBuffer.h"
54 #include "platform/WebFrameScheduler.h" 53 #include "platform/WebFrameScheduler.h"
55 #include "platform/heap/Handle.h" 54 #include "platform/heap/Handle.h"
56 #include "platform/instrumentation/tracing/TraceEvent.h" 55 #include "platform/instrumentation/tracing/TraceEvent.h"
56 #include "platform/loader/fetch/ResourceFetcher.h"
57 #include "public/platform/Platform.h" 57 #include "public/platform/Platform.h"
58 #include "public/platform/WebLoadingBehaviorFlag.h" 58 #include "public/platform/WebLoadingBehaviorFlag.h"
59 #include "public/platform/WebScheduler.h" 59 #include "public/platform/WebScheduler.h"
60 #include "public/platform/WebThread.h" 60 #include "public/platform/WebThread.h"
61 #include "wtf/AutoReset.h" 61 #include "wtf/AutoReset.h"
62 #include "wtf/PtrUtil.h" 62 #include "wtf/PtrUtil.h"
63 #include <memory> 63 #include <memory>
64 64
65 namespace blink { 65 namespace blink {
66 66
(...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 case Asynchronous: 1316 case Asynchronous:
1317 m_loadingTaskRunner->postTask( 1317 m_loadingTaskRunner->postTask(
1318 BLINK_FROM_HERE, 1318 BLINK_FROM_HERE,
1319 WTF::bind(function, std::forward<Ps>(parameters)...)); 1319 WTF::bind(function, std::forward<Ps>(parameters)...));
1320 return; 1320 return;
1321 } 1321 }
1322 NOTREACHED(); 1322 NOTREACHED();
1323 } 1323 }
1324 1324
1325 } // namespace blink 1325 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698