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

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

Issue 1728803002: Rename WorkerThread to WorkerScript Base URL: https://chromium.googlesource.com/chromium/src.git@workerscript-controller
Patch Set: Created 4 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "core/XLinkNames.h" 44 #include "core/XLinkNames.h"
45 #include "core/XMLNSNames.h" 45 #include "core/XMLNSNames.h"
46 #include "core/XMLNames.h" 46 #include "core/XMLNames.h"
47 #include "core/css/parser/CSSParserTokenRange.h" 47 #include "core/css/parser/CSSParserTokenRange.h"
48 #include "core/dom/Document.h" 48 #include "core/dom/Document.h"
49 #include "core/dom/StyleChangeReason.h" 49 #include "core/dom/StyleChangeReason.h"
50 #include "core/events/EventFactory.h" 50 #include "core/events/EventFactory.h"
51 #include "core/fetch/FetchInitiatorTypeNames.h" 51 #include "core/fetch/FetchInitiatorTypeNames.h"
52 #include "core/html/canvas/CanvasRenderingContextFactory.h" 52 #include "core/html/canvas/CanvasRenderingContextFactory.h"
53 #include "core/html/parser/HTMLParserThread.h" 53 #include "core/html/parser/HTMLParserThread.h"
54 #include "core/workers/WorkerThread.h" 54 #include "core/workers/WorkerScript.h"
55 #include "platform/EventTracer.h" 55 #include "platform/EventTracer.h"
56 #include "platform/FontFamilyNames.h" 56 #include "platform/FontFamilyNames.h"
57 #include "platform/HTTPNames.h" 57 #include "platform/HTTPNames.h"
58 #include "platform/weborigin/KURL.h" 58 #include "platform/weborigin/KURL.h"
59 #include "platform/weborigin/SecurityPolicy.h" 59 #include "platform/weborigin/SecurityPolicy.h"
60 #include "wtf/Partitions.h" 60 #include "wtf/Partitions.h"
61 61
62 namespace blink { 62 namespace blink {
63 63
64 void CoreInitializer::registerEventFactory() 64 void CoreInitializer::registerEventFactory()
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 HTMLParserThread::init(); 140 HTMLParserThread::init();
141 ScriptStreamerThread::init(); 141 ScriptStreamerThread::init();
142 } 142 }
143 143
144 void CoreInitializer::terminateThreads() 144 void CoreInitializer::terminateThreads()
145 { 145 {
146 // Make sure we stop the HTMLParserThread before Platform::current() is 146 // Make sure we stop the HTMLParserThread before Platform::current() is
147 // cleared. 147 // cleared.
148 HTMLParserThread::shutdown(); 148 HTMLParserThread::shutdown();
149 149
150 WorkerThread::terminateAndWaitForAllWorkers(); 150 WorkerScript::terminateAndWaitForAllWorkers();
151 } 151 }
152 152
153 void CoreInitializer::shutdown() 153 void CoreInitializer::shutdown()
154 { 154 {
155 } 155 }
156 156
157 } // namespace blink 157 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698