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

Unified Diff: Source/core/workers/WorkerGlobalScope.cpp

Issue 561093003: Remove worker support of Web SQL Database. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/WorkerGlobalScope.h ('k') | Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerGlobalScope.cpp
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp
index cd7b4a20f65a3e3f50f9727228feadb1b785bf58..42a5da82d953788966b4210b54d52fe8f9671b57 100644
--- a/Source/core/workers/WorkerGlobalScope.cpp
+++ b/Source/core/workers/WorkerGlobalScope.cpp
@@ -89,7 +89,6 @@ WorkerGlobalScope::WorkerGlobalScope(const KURL& url, const String& userAgent, W
, m_eventQueue(WorkerEventQueue::create(this))
, m_workerClients(workerClients)
, m_timeOrigin(timeOrigin)
- , m_terminationObserver(0)
, m_messageStorage(ConsoleMessageStorage::createForWorker(this))
{
setClient(this);
@@ -196,19 +195,6 @@ void WorkerGlobalScope::clearInspector()
m_workerInspectorController.clear();
}
-void WorkerGlobalScope::registerTerminationObserver(TerminationObserver* observer)
-{
- ASSERT(!m_terminationObserver);
- ASSERT(observer);
- m_terminationObserver = observer;
-}
-
-void WorkerGlobalScope::wasRequestedToTerminate()
-{
- if (m_terminationObserver)
- m_terminationObserver->wasRequestedToTerminate();
-}
-
void WorkerGlobalScope::dispose()
{
ASSERT(thread()->isCurrentThread());
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.h ('k') | Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698