Home
last modified time | relevance | path

Searched refs:CurrentWorkerId (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/content/child/fileapi/
Dwebfilesystem_impl.cc94 int CurrentWorkerId() { in CurrentWorkerId() function
95 return WorkerTaskRunner::Instance()->CurrentWorkerId(); in CurrentWorkerId()
196 if (thread_id != CurrentWorkerId()) { in DispatchResultsClosure()
380 if (WorkerTaskRunner::Instance()->CurrentWorkerId()) in ThreadSpecificInstance()
386 DCHECK(!WorkerTaskRunner::Instance()->CurrentWorkerId()); in DeleteThreadSpecificInstance()
418 CurrentWorkerId(), in openFileSystem()
422 CurrentWorkerId(), in openFileSystem()
439 CurrentWorkerId(), callbacks_id, waitable_results), in resolveURL()
441 CurrentWorkerId(), callbacks_id, waitable_results)), in resolveURL()
458 CurrentWorkerId(), in deleteFileSystem()
[all …]
Dwebfilewriter_impl.cc34 thread_id_(WorkerTaskRunner::Instance()->CurrentWorkerId()), in WriterBridge()
/external/chromium_org/content/child/indexed_db/
Dindexed_db_dispatcher.cc79 if (WorkerTaskRunner::Instance()->CurrentWorkerId()) in ThreadSpecificInstance()
185 ipc_cursor_id, CurrentWorkerId(), ipc_callbacks_id, count)); in RequestIDBCursorAdvance()
201 ipc_cursor_id, CurrentWorkerId(), ipc_callbacks_id, key, primary_key)); in RequestIDBCursorContinue()
212 ipc_cursor_id, CurrentWorkerId(), ipc_callbacks_id, n)); in RequestIDBCursorPrefetch()
234 params.ipc_thread_id = CurrentWorkerId(); in RequestIDBFactoryOpen()
251 params.ipc_thread_id = CurrentWorkerId(); in RequestIDBFactoryGetDatabaseNames()
264 params.ipc_thread_id = CurrentWorkerId(); in RequestIDBFactoryDeleteDatabase()
295 params.ipc_thread_id = CurrentWorkerId(); in RequestIDBDatabaseCreateTransaction()
462 Send(new IndexedDBHostMsg_DatabaseClear(CurrentWorkerId(), in RequestIDBDatabaseClear()
484 DCHECK_EQ(ipc_thread_id, CurrentWorkerId()); in OnSuccessIDBDatabase()
[all …]
Dindexed_db_dispatcher.h182 static int32 CurrentWorkerId() { in CurrentWorkerId() function
183 return WorkerTaskRunner::Instance()->CurrentWorkerId(); in CurrentWorkerId()
189 params->ipc_thread_id = CurrentWorkerId(); in init_params()
Dindexed_db_dispatcher_unittest.cc192 params.ipc_thread_id = dispatcher.CurrentWorkerId(); in TEST_F()
234 params.ipc_thread_id = dispatcher.CurrentWorkerId(); in TEST_F()
/external/chromium_org/content/child/
Dworker_task_runner.cc65 int WorkerTaskRunner::CurrentWorkerId() { in CurrentWorkerId() function in content::WorkerTaskRunner
78 DCHECK(CurrentWorkerId() > 0); in AddStopObserver()
83 DCHECK(CurrentWorkerId() > 0); in RemoveStopObserver()
105 DCHECK(loop_map_[CurrentWorkerId()] == loop); in OnWorkerRunLoopStopped()
106 loop_map_.erase(CurrentWorkerId()); in OnWorkerRunLoopStopped()
Dquota_dispatcher.cc56 int CurrentWorkerId() { in CurrentWorkerId() function
57 return WorkerTaskRunner::Instance()->CurrentWorkerId(); in CurrentWorkerId()
87 if (WorkerTaskRunner::Instance()->CurrentWorkerId()) in ThreadSpecificInstance()
114 int request_id = quota_message_filter_->GenerateRequestID(CurrentWorkerId()); in QueryStorageUsageAndQuota()
127 DCHECK(CurrentWorkerId() == 0); in RequestStorageQuota()
128 int request_id = quota_message_filter_->GenerateRequestID(CurrentWorkerId()); in RequestStorageQuota()
Dworker_thread_task_runner.cc17 int worker_thread_id = WorkerTaskRunner::Instance()->CurrentWorkerId(); in current()
33 return worker_thread_id_ == WorkerTaskRunner::Instance()->CurrentWorkerId(); in RunsTasksOnCurrentThread()
Dworker_task_runner_unittest.cc38 ASSERT_EQ(0, task_runner_.CurrentWorkerId()); in TEST_F()
43 ASSERT_LT(0, task_runner_.CurrentWorkerId()); in TEST_F()
Dworker_task_runner.h25 int CurrentWorkerId();
/external/chromium_org/content/renderer/service_worker/
Dembedded_worker_context_client.cc168 WorkerTaskRunner::Instance()->CurrentWorkerId()); in workerContextStarted()
169 DCHECK_NE(0, WorkerTaskRunner::Instance()->CurrentWorkerId()); in workerContextStarted()
179 WorkerTaskRunner::Instance()->CurrentWorkerId())); in workerContextStarted()
/external/chromium_org/content/child/service_worker/
Dservice_worker_dispatcher.cc38 int CurrentWorkerId() { in CurrentWorkerId() function
39 return WorkerTaskRunner::Instance()->CurrentWorkerId(); in CurrentWorkerId()
115 CurrentWorkerId(), request_id, provider_id, pattern, script_url)); in RegisterServiceWorker()
139 CurrentWorkerId(), request_id, provider_id, pattern)); in UnregisterServiceWorker()
163 CurrentWorkerId(), request_id, provider_id, document_url)); in GetRegistration()
211 if (WorkerTaskRunner::Instance()->CurrentWorkerId()) in GetOrCreateThreadSpecificInstance()