/external/chromium_org/content/browser/service_worker/ |
embedded_worker_test_helper.cc | 83 int embedded_worker_id, 89 SimulatePausedAfterDownload(embedded_worker_id); 92 SimulateWorkerReadyForInspection(embedded_worker_id); 93 SimulateWorkerScriptLoaded(next_thread_id_++, embedded_worker_id); 94 SimulateWorkerStarted(embedded_worker_id); 97 void EmbeddedWorkerTestHelper::OnResumeAfterDownload(int embedded_worker_id) { 98 SimulateWorkerReadyForInspection(embedded_worker_id); 99 SimulateWorkerScriptLoaded(next_thread_id_++, embedded_worker_id); 100 SimulateWorkerStarted(embedded_worker_id); 103 void EmbeddedWorkerTestHelper::OnStopWorker(int embedded_worker_id) { [all...] |
embedded_worker_registry.cc | 46 int process_id, int embedded_worker_id) { 48 new EmbeddedWorkerMsg_StopWorker(embedded_worker_id)); 72 int embedded_worker_id) { 73 WorkerInstanceMap::iterator found = worker_map_.find(embedded_worker_id); 84 int embedded_worker_id ) { 85 WorkerInstanceMap::iterator found = worker_map_.find(embedded_worker_id); 94 int embedded_worker_id) { 95 WorkerInstanceMap::iterator found = worker_map_.find(embedded_worker_id); 104 int process_id, int embedded_worker_id) { 106 worker_process_map_[process_id].count(embedded_worker_id) == 0) 181 int embedded_worker_id = *it; local [all...] |
embedded_worker_registry.h | 63 int embedded_worker_id); 70 void OnWorkerReadyForInspection(int process_id, int embedded_worker_id); 73 int embedded_worker_id); 74 void OnWorkerScriptLoadFailed(int process_id, int embedded_worker_id); 75 void OnWorkerStarted(int process_id, int embedded_worker_id); 76 void OnWorkerStopped(int process_id, int embedded_worker_id); 77 void OnPausedAfterDownload(int process_id, int embedded_worker_id); 78 void OnReportException(int embedded_worker_id, 83 void OnReportConsoleMessage(int embedded_worker_id, 94 // Returns an embedded worker instance for given |embedded_worker_id| [all...] |
embedded_worker_test_helper.h | 79 virtual void OnStartWorker(int embedded_worker_id, 84 virtual void OnResumeAfterDownload(int embedded_worker_id); 85 virtual void OnStopWorker(int embedded_worker_id); 87 int embedded_worker_id, 94 virtual void OnActivateEvent(int embedded_worker_id, int request_id); 95 virtual void OnInstallEvent(int embedded_worker_id, 98 virtual void OnFetchEvent(int embedded_worker_id, 104 void SimulatePausedAfterDownload(int embedded_worker_id); 105 void SimulateWorkerReadyForInspection(int embedded_worker_id); 106 void SimulateWorkerScriptLoaded(int thread_id, int embedded_worker_id); [all...] |
service_worker_dispatcher_host.h | 91 void OnWorkerReadyForInspection(int embedded_worker_id); 92 void OnWorkerScriptLoaded(int embedded_worker_id, int thread_id); 93 void OnWorkerScriptLoadFailed(int embedded_worker_id); 94 void OnWorkerStarted(int embedded_worker_id); 95 void OnWorkerStopped(int embedded_worker_id); 96 void OnPausedAfterDownload(int embedded_worker_id); 97 void OnReportException(int embedded_worker_id, 103 int embedded_worker_id,
|
service_worker_dispatcher_host.cc | 509 int embedded_worker_id) { 515 if (!registry->CanHandle(embedded_worker_id)) 517 registry->OnWorkerReadyForInspection(render_process_id_, embedded_worker_id); 521 int embedded_worker_id, 528 if (!registry->CanHandle(embedded_worker_id)) 531 render_process_id_, thread_id, embedded_worker_id); 535 int embedded_worker_id) { 541 if (!registry->CanHandle(embedded_worker_id)) 543 registry->OnWorkerScriptLoadFailed(render_process_id_, embedded_worker_id); 546 void ServiceWorkerDispatcherHost::OnWorkerStarted(int embedded_worker_id) { [all...] |
service_worker_process_manager.cc | 134 int embedded_worker_id, 145 embedded_worker_id, 162 DCHECK(!ContainsKey(instance_info_, embedded_worker_id)) 163 << embedded_worker_id << " already has a process allocated"; 172 std::make_pair(embedded_worker_id, ProcessInfo(*it))); 204 std::make_pair(embedded_worker_id, ProcessInfo(site_instance))); 213 void ServiceWorkerProcessManager::ReleaseWorkerProcess(int embedded_worker_id) { 220 embedded_worker_id)); 234 instance_info_.find(embedded_worker_id);
|
service_worker_version_unittest.cc | 42 int embedded_worker_id, 45 thread_id, embedded_worker_id, message)) { 48 current_embedded_worker_id_ = embedded_worker_id; 57 void SimulateSendValueToBrowser(int embedded_worker_id, int value) { 58 SimulateSend(new TestMsg_MessageFromWorker(embedded_worker_id, value)); 259 version_->embedded_worker()->embedded_worker_id(), 555); 261 version_->embedded_worker()->embedded_worker_id(), 777);
|
embedded_worker_instance.cc | 144 params->embedded_worker_id = embedded_worker_id_; 190 int embedded_worker_id) 193 embedded_worker_id_(embedded_worker_id), 217 params->embedded_worker_id);
|
service_worker_context_unittest.cc | 91 virtual void OnInstallEvent(int embedded_worker_id, 96 embedded_worker_id, request_id, 106 virtual void OnActivateEvent(int embedded_worker_id, 110 embedded_worker_id, request_id,
|
embedded_worker_instance.h | 93 int embedded_worker_id() const { return embedded_worker_id_; } function in class:content::EmbeddedWorkerInstance 113 int embedded_worker_id);
|
service_worker_process_manager.h | 48 int embedded_worker_id, 56 void ReleaseWorkerProcess(int embedded_worker_id);
|
service_worker_url_request_job_unittest.cc | 195 virtual void OnFetchEvent(int embedded_worker_id, 199 embedded_worker_id,
|
service_worker_job_unittest.cc | 410 virtual void OnStartWorker(int embedded_worker_id, 415 EmbeddedWorkerInstance* worker = registry()->GetWorker(embedded_worker_id); 416 registry()->OnWorkerStopped(worker->process_id(), embedded_worker_id); 933 virtual void OnStartWorker(int embedded_worker_id, [all...] |
/external/chromium_org/content/common/service_worker/ |
embedded_worker_messages.h | 21 IPC_STRUCT_MEMBER(int, embedded_worker_id) 48 int /* embedded_worker_id */) 52 int /* embedded_worker_id */) 57 int /* embedded_worker_id */) 62 int /* embedded_worker_id */) 67 int /* embedded_worker_id */, 73 int /* embedded_worker_id */) 77 int /* embedded_worker_id */) 81 int /* embedded_worker_id */) 85 int /* embedded_worker_id */, [all...] |
/external/chromium_org/content/renderer/service_worker/ |
embedded_worker_dispatcher.h | 31 void WorkerContextDestroyed(int embedded_worker_id); 37 void OnStopWorker(int embedded_worker_id); 38 void OnResumeAfterDownload(int embedded_worker_id);
|
embedded_worker_dispatcher.cc | 63 int embedded_worker_id) { 65 new EmbeddedWorkerHostMsg_WorkerStopped(embedded_worker_id)); 66 workers_.Remove(embedded_worker_id); 71 DCHECK(!workers_.Lookup(params.embedded_worker_id)); 77 params.embedded_worker_id, 105 workers_.AddWithID(wrapper.release(), params.embedded_worker_id); 108 void EmbeddedWorkerDispatcher::OnStopWorker(int embedded_worker_id) { 110 WorkerWrapper* wrapper = workers_.Lookup(embedded_worker_id); 122 void EmbeddedWorkerDispatcher::OnResumeAfterDownload(int embedded_worker_id) { 125 WorkerWrapper* wrapper = workers_.Lookup(embedded_worker_id); [all...] |
embedded_worker_context_client.h | 51 EmbeddedWorkerContextClient(int embedded_worker_id, 103 int embedded_worker_id() const { return embedded_worker_id_; } function in class:content::EmbeddedWorkerContextClient 111 int embedded_worker_id,
|
embedded_worker_context_client.cc | 45 void CallWorkerContextDestroyedOnMainThread(int embedded_worker_id) { 50 WorkerContextDestroyed(embedded_worker_id); 90 int embedded_worker_id, 95 : embedded_worker_id_(embedded_worker_id), 337 int embedded_worker_id, 341 DCHECK_EQ(embedded_worker_id_, embedded_worker_id);
|
service_worker_script_context.cc | 128 return embedded_context_->embedded_worker_id();
|