/external/chromium_org/content/child/fileapi/ |
D | webfilesystem_impl.cc | 94 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 …]
|
D | webfilewriter_impl.cc | 34 thread_id_(WorkerTaskRunner::Instance()->CurrentWorkerId()), in WriterBridge()
|
/external/chromium_org/content/child/indexed_db/ |
D | indexed_db_dispatcher.cc | 79 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 …]
|
D | indexed_db_dispatcher.h | 182 static int32 CurrentWorkerId() { in CurrentWorkerId() function 183 return WorkerTaskRunner::Instance()->CurrentWorkerId(); in CurrentWorkerId() 189 params->ipc_thread_id = CurrentWorkerId(); in init_params()
|
D | indexed_db_dispatcher_unittest.cc | 192 params.ipc_thread_id = dispatcher.CurrentWorkerId(); in TEST_F() 234 params.ipc_thread_id = dispatcher.CurrentWorkerId(); in TEST_F()
|
/external/chromium_org/content/child/ |
D | worker_task_runner.cc | 65 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()
|
D | quota_dispatcher.cc | 56 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()
|
D | worker_thread_task_runner.cc | 17 int worker_thread_id = WorkerTaskRunner::Instance()->CurrentWorkerId(); in current() 33 return worker_thread_id_ == WorkerTaskRunner::Instance()->CurrentWorkerId(); in RunsTasksOnCurrentThread()
|
D | worker_task_runner_unittest.cc | 38 ASSERT_EQ(0, task_runner_.CurrentWorkerId()); in TEST_F() 43 ASSERT_LT(0, task_runner_.CurrentWorkerId()); in TEST_F()
|
D | worker_task_runner.h | 25 int CurrentWorkerId();
|
/external/chromium_org/content/renderer/service_worker/ |
D | embedded_worker_context_client.cc | 168 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/ |
D | service_worker_dispatcher.cc | 38 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()
|