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

Unified Diff: Source/core/workers/WorkerRunLoop.h

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/workers/WorkerReportingProxy.h ('k') | Source/core/workers/WorkerRunLoop.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerRunLoop.h
diff --git a/Source/core/workers/WorkerRunLoop.h b/Source/core/workers/WorkerRunLoop.h
index cea5b82beb303fcebb5e097b21d9ec2e9bdca5e4..5180eb93e0402b08325eebfef8c2dd2124456963 100644
--- a/Source/core/workers/WorkerRunLoop.h
+++ b/Source/core/workers/WorkerRunLoop.h
@@ -39,7 +39,7 @@
namespace WebCore {
class ModePredicate;
- class WorkerContext;
+ class WorkerGlobalScope;
class WorkerSharedTimer;
class WorkerRunLoop {
@@ -48,12 +48,12 @@ namespace WebCore {
~WorkerRunLoop();
// Blocking call. Waits for tasks and timers, invokes the callbacks.
- void run(WorkerContext*);
+ void run(WorkerGlobalScope*);
enum WaitMode { WaitForMessage, DontWaitForMessage };
// Waits for a single task and returns.
- MessageQueueWaitResult runInMode(WorkerContext*, const String& mode, WaitMode = WaitForMessage);
+ MessageQueueWaitResult runInMode(WorkerGlobalScope*, const String& mode, WaitMode = WaitForMessage);
void terminate();
bool terminated() const { return m_messageQueue.killed(); }
@@ -83,11 +83,11 @@ namespace WebCore {
private:
friend class RunLoopSetup;
- MessageQueueWaitResult runInMode(WorkerContext*, const ModePredicate&, WaitMode);
+ MessageQueueWaitResult runInMode(WorkerGlobalScope*, const ModePredicate&, WaitMode);
// Runs any clean up tasks that are currently in the queue and returns.
// This should only be called when the context is closed or loop has been terminated.
- void runCleanupTasks(WorkerContext*);
+ void runCleanupTasks(WorkerGlobalScope*);
void idleNotification(double idlenessInterval);
« no previous file with comments | « Source/core/workers/WorkerReportingProxy.h ('k') | Source/core/workers/WorkerRunLoop.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698