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

Side by Side Diff: third_party/WebKit/Source/core/CoreInitializer.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 10 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "core/MediaTypeNames.h" 43 #include "core/MediaTypeNames.h"
44 #include "core/SVGNames.h" 44 #include "core/SVGNames.h"
45 #include "core/XLinkNames.h" 45 #include "core/XLinkNames.h"
46 #include "core/XMLNSNames.h" 46 #include "core/XMLNSNames.h"
47 #include "core/XMLNames.h" 47 #include "core/XMLNames.h"
48 #include "core/css/MediaQueryEvaluator.h" 48 #include "core/css/MediaQueryEvaluator.h"
49 #include "core/css/parser/CSSParserTokenRange.h" 49 #include "core/css/parser/CSSParserTokenRange.h"
50 #include "core/dom/Document.h" 50 #include "core/dom/Document.h"
51 #include "core/dom/StyleChangeReason.h" 51 #include "core/dom/StyleChangeReason.h"
52 #include "core/events/EventFactory.h" 52 #include "core/events/EventFactory.h"
53 #include "core/fetch/FetchInitiatorTypeNames.h"
54 #include "core/html/canvas/CanvasRenderingContextFactory.h" 53 #include "core/html/canvas/CanvasRenderingContextFactory.h"
55 #include "core/html/parser/HTMLParserThread.h" 54 #include "core/html/parser/HTMLParserThread.h"
56 #include "core/workers/WorkerThread.h" 55 #include "core/workers/WorkerThread.h"
57 #include "platform/FontFamilyNames.h" 56 #include "platform/FontFamilyNames.h"
58 #include "platform/HTTPNames.h" 57 #include "platform/HTTPNames.h"
59 #include "platform/RuntimeEnabledFeatures.h" 58 #include "platform/RuntimeEnabledFeatures.h"
59 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
60 #include "platform/weborigin/KURL.h" 60 #include "platform/weborigin/KURL.h"
61 #include "platform/weborigin/SchemeRegistry.h" 61 #include "platform/weborigin/SchemeRegistry.h"
62 #include "platform/weborigin/SecurityPolicy.h" 62 #include "platform/weborigin/SecurityPolicy.h"
63 #include "wtf/allocator/Partitions.h" 63 #include "wtf/allocator/Partitions.h"
64 #include "wtf/text/AtomicStringTable.h" 64 #include "wtf/text/AtomicStringTable.h"
65 65
66 namespace blink { 66 namespace blink {
67 67
68 void CoreInitializer::registerEventFactory() { 68 void CoreInitializer::registerEventFactory() {
69 static bool isRegistered = false; 69 static bool isRegistered = false;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Make sure we stop the HTMLParserThread before Platform::current() is 156 // Make sure we stop the HTMLParserThread before Platform::current() is
157 // cleared. 157 // cleared.
158 ASSERT(Platform::current()); 158 ASSERT(Platform::current());
159 if (!RuntimeEnabledFeatures::parseHTMLOnMainThreadEnabled()) 159 if (!RuntimeEnabledFeatures::parseHTMLOnMainThreadEnabled())
160 HTMLParserThread::shutdown(); 160 HTMLParserThread::shutdown();
161 161
162 WorkerThread::terminateAndWaitForAllWorkers(); 162 WorkerThread::terminateAndWaitForAllWorkers();
163 } 163 }
164 164
165 } // namespace blink 165 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698