Home
last modified time | relevance | path

Searched refs:m_workerContext (Results 1 – 21 of 21) sorted by relevance

/external/webkit/Source/WebCore/workers/
DWorkerThread.cpp125m_workerContext = createWorkerContext(m_startupData->m_scriptURL, m_startupData->m_userAgent); in workerThread()
130 m_workerContext->script()->forbidExecution(); in workerThread()
134 WorkerScriptController* script = m_workerContext->script(); in workerThread()
145 ASSERT(m_workerContext->hasOneRef()); in workerThread()
149 m_workerContext = 0; in workerThread()
163 m_runLoop.run(m_workerContext.get()); in runEventLoop()
230 if (m_workerContext) { in stop()
231 m_workerContext->script()->scheduleExecutionTermination(); in stop()
234 DatabaseTracker::tracker().interruptAllDatabasesForContext(m_workerContext.get()); in stop()
DWorkerThread.h76 WorkerContext* workerContext() { return m_workerContext.get(); } in workerContext()
88 RefPtr<WorkerContext> m_workerContext; variable
/external/webkit/Source/WebKit/chromium/src/
DWorkerFileWriterCallbacksBridge.cpp56 ASSERT(m_workerContext->isContextThread()); in notifyStop()
82 ASSERT(m_workerContext->isContextThread()); in postShutdownToMainThread()
134 , m_workerContext(scriptExecutionContext) in WorkerFileWriterCallbacksBridge()
139 ASSERT(m_workerContext->isContextThread()); in WorkerFileWriterCallbacksBridge()
159 ASSERT(bridge->m_workerContext->isContextThread()); in didWriteOnWorkerThread()
168 ASSERT(bridge->m_workerContext->isContextThread()); in didFailOnWorkerThread()
176 ASSERT(bridge->m_workerContext->isContextThread()); in didTruncateOnWorkerThread()
191 ASSERT(bridge->m_workerContext->isContextThread()); in runTaskOnWorkerThread()
198 ASSERT(m_workerContext->isContextThread()); in dispatchTaskToMainThread()
211 WorkerContext* context = static_cast<WorkerContext*>(m_workerContext); in waitForOperationToComplete()
DWorkerAsyncFileSystemChromium.cpp63 , m_workerContext(static_cast<WorkerContext*>(context)) in WorkerAsyncFileSystemChromium()
69 WorkerLoaderProxy* workerLoaderProxy = &m_workerContext->thread()->workerLoaderProxy(); in WorkerAsyncFileSystemChromium()
83 …if (m_workerContext->thread()->runLoop().runInMode(m_workerContext, m_modeForCurrentOperation) == … in waitForOperationToComplete()
158 …ium = WorkerAsyncFileWriterChromium::create(m_webFileSystem, m_path, m_workerContext, m_client, Wo… in didReadMetadata()
196 , m_workerContext(workerContext) in WorkerFileWriterHelperCallbacks()
204 WorkerContext* m_workerContext; member in WebCore::WorkerFileWriterHelperCallbacks
209 …terHelperCallbacks::create(client, path, m_webFileSystem, callbacks, m_workerContext))->postReadMe… in createWriter()
217 …m_modeForCurrentOperation.append(String::number(m_workerContext->thread()->runLoop().createUniqueI… in createWorkerFileSystemCallbacksBridge()
DWorkerFileSystemCallbacksBridge.cpp146 ASSERT(m_workerContext->isContextThread()); in stop()
305 , m_workerContext(scriptExecutionContext) in WorkerFileSystemCallbacksBridge()
308 ASSERT(m_workerContext->isContextThread()); in WorkerFileSystemCallbacksBridge()
356 ASSERT(bridge->m_workerContext->isContextThread()); in runTaskOnWorkerThread()
365 ASSERT(m_workerContext->isContextThread()); in dispatchTaskToMainThread()
DWorkerAsyncFileSystemChromium.h85 WorkerContext* m_workerContext; variable
DWorkerFileWriterCallbacksBridge.h143 WebCore::ScriptExecutionContext* m_workerContext; variable
DWorkerFileSystemCallbacksBridge.h139 WebCore::ScriptExecutionContext* m_workerContext; variable
/external/webkit/Source/WebCore/bindings/js/
DWorkerScriptController.cpp54 , m_workerContext(workerContext) in WorkerScriptController()
80 if (m_workerContext->isDedicatedWorkerContext()) { in initScript()
85 …globalData.get()) JSDedicatedWorkerContext(*m_globalData, structure, m_workerContext->toDedicatedW… in initScript()
90 ASSERT(m_workerContext->isSharedWorkerContext()); in initScript()
95 …(m_globalData.get()) JSSharedWorkerContext(*m_globalData, structure, m_workerContext->toSharedWork… in initScript()
144 if (m_workerContext->sanitizeScriptError(errorMessage, lineNumber, sourceURL)) in evaluate()
164 ASSERT(m_workerContext->isContextThread()); in forbidExecution()
170 ASSERT(m_workerContext->isContextThread()); in isExecutionForbidden()
DWorkerScriptController.h87 WorkerContext* m_workerContext; variable
/external/webkit/Source/WebCore/bindings/v8/
DWorkerScriptController.cpp53 : m_workerContext(workerContext) in WorkerScriptController()
80m_workerContext->reportException(state.errorMessage, state.lineNumber, state.sourceURL, 0); in evaluate()
93 ASSERT(m_workerContext->isContextThread()); in forbidExecution()
99 ASSERT(m_workerContext->isContextThread()); in isExecutionForbidden()
DWorkerContextExecutionProxy.cpp83 : m_workerContext(workerContext) in WorkerContextExecutionProxy()
159 if (!m_workerContext->isDedicatedWorkerContext()) in initContextIfNeeded()
171 V8DOMWrapper::setDOMWrapper(jsWorkerContext, contextType, m_workerContext); in initContextIfNeeded()
173 …V8DOMWrapper::setJSWrapperForDOMObject(m_workerContext, v8::Persistent<v8::Object>::New(jsWorkerCo… in initContextIfNeeded()
174 m_workerContext->ref(); in initContextIfNeeded()
207 m_workerContext->script()->forbidExecution(); in evaluate()
217 …if (m_workerContext->sanitizeScriptError(state->errorMessage, state->lineNumber, state->sourceURL)) in evaluate()
DWorkerScriptController.h52 WorkerContext* workerContext() { return m_workerContext; } in workerContext()
75 WorkerContext* m_workerContext;
DWorkerContextExecutionProxy.h87 WorkerContext* m_workerContext; variable
/external/webkit/Source/WebCore/inspector/
DWorkerInspectorController.cpp57 , m_workerContext(workerContext) { } in WorkerRuntimeAgent()
63 return scriptStateFromWorkerContext(m_workerContext); in getDefaultInspectedState()
66 WorkerContext* m_workerContext; member in WebCore::__anona10a4aae0111::WorkerRuntimeAgent
72 : m_workerContext(workerContext) in WorkerInspectorController()
DWorkerInspectorController.h66 WorkerContext* m_workerContext;
/external/webkit/Source/WebCore/websockets/
DWorkerThreadableWebSocketChannel.cpp53 : m_workerContext(context) in WorkerThreadableWebSocketChannel()
55 , m_bridge(Bridge::create(m_workerClientWrapper, m_workerContext, taskMode, url, protocol)) in WorkerThreadableWebSocketChannel()
254 , m_workerContext(workerContext) in Bridge()
255 , m_loaderProxy(m_workerContext->thread()->workerLoaderProxy()) in Bridge()
365 m_workerContext = 0; in disconnect()
413 if (!m_workerContext) in waitForMethodCompletion()
415 WorkerRunLoop& runLoop = m_workerContext->thread()->runLoop(); in waitForMethodCompletion()
418 …while (m_workerContext && clientWrapper && !clientWrapper->syncMethodDone() && result != MessageQu… in waitForMethodCompletion()
419 …result = runLoop.runInMode(m_workerContext.get(), m_taskMode); // May cause this bridge to get dis… in waitForMethodCompletion()
DWorkerThreadableWebSocketChannel.h145 RefPtr<WorkerContext> m_workerContext; variable
161 RefPtr<WorkerContext> m_workerContext; variable
/external/webkit/Source/WebCore/loader/
DWorkerThreadableLoader.cpp58 : m_workerContext(workerContext) in WorkerThreadableLoader()
60 …, m_bridge(*(new MainThreadBridge(m_workerClientWrapper, m_workerContext->thread()->workerLoaderPr… in WorkerThreadableLoader()
DWorkerThreadableLoader.h140 RefPtr<WorkerContext> m_workerContext; variable
/external/webkit/Source/WebCore/
DChangeLog-2010-01-2911399 unref m_workerContext when websocket is disconnected, so that avoid