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

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

Issue 16988003: Revert "Extract ContextLifecycleNotifier from ScriptExecutionContext." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/dom/ScriptExecutionContext.cpp ('k') | Source/core/workers/WorkerContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerContext.h
diff --git a/Source/core/workers/WorkerContext.h b/Source/core/workers/WorkerContext.h
index 94cb2b9dd227b0a340ef6e0d6b11e002288281ae..a015af3204ddc58bff9462b7c22093011469b757 100644
--- a/Source/core/workers/WorkerContext.h
+++ b/Source/core/workers/WorkerContext.h
@@ -79,6 +79,8 @@ namespace WebCore {
WorkerThread* thread() const { return m_thread; }
+ bool hasPendingActivity() const;
+
virtual void postTask(PassOwnPtr<Task>) OVERRIDE; // Executes the task on context's thread asynchronously.
// WorkerGlobalScope
« no previous file with comments | « Source/core/dom/ScriptExecutionContext.cpp ('k') | Source/core/workers/WorkerContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698