Lines Matching refs:GetContext
78 if (GetContext()) {
79 GetContext()->RemoveAllProviderHostsForProcess(render_process_id_);
80 GetContext()->embedded_worker_registry()->RemoveChildProcessSender(
95 GetContext()->embedded_worker_registry()->AddChildProcessSender(
160 if (!handled && GetContext()) {
162 GetContext()->embedded_worker_registry()->OnMessageReceived(message);
194 GetContext()->AsWeakPtr(), this, provider_id, registration));
220 if (!GetContext()) {
229 ServiceWorkerProviderHost* provider_host = GetContext()->GetProviderHost(
254 GetContext()->RegisterServiceWorker(
272 if (!GetContext()) {
281 ServiceWorkerProviderHost* provider_host = GetContext()->GetProviderHost(
306 GetContext()->UnregisterServiceWorker(
321 if (!GetContext()) {
330 ServiceWorkerProviderHost* provider_host = GetContext()->GetProviderHost(
351 if (GetContext()->storage()->IsDisabled()) {
362 GetContext()->storage()->FindRegistrationForDocument(
377 if (!GetContext())
399 if (!GetContext())
401 if (GetContext()->GetProviderHost(render_process_id_, provider_id)) {
407 render_process_id_, provider_id, GetContext()->AsWeakPtr(), this));
408 GetContext()->AddProviderHost(provider_host.Pass());
414 if (!GetContext())
416 if (!GetContext()->GetProviderHost(render_process_id_, provider_id)) {
420 GetContext()->RemoveProviderHost(render_process_id_, provider_id);
427 if (!GetContext())
430 GetContext()->GetProviderHost(render_process_id_, provider_id);
482 if (!GetContext())
491 GetContext()->GetLiveRegistration(registration_id);
512 if (!GetContext())
514 EmbeddedWorkerRegistry* registry = GetContext()->embedded_worker_registry();
525 if (!GetContext())
527 EmbeddedWorkerRegistry* registry = GetContext()->embedded_worker_registry();
538 if (!GetContext())
540 EmbeddedWorkerRegistry* registry = GetContext()->embedded_worker_registry();
549 if (!GetContext())
551 EmbeddedWorkerRegistry* registry = GetContext()->embedded_worker_registry();
560 if (!GetContext())
562 EmbeddedWorkerRegistry* registry = GetContext()->embedded_worker_registry();
572 if (!GetContext())
574 GetContext()->embedded_worker_registry()->OnPausedAfterDownload(
586 if (!GetContext())
588 EmbeddedWorkerRegistry* registry = GetContext()->embedded_worker_registry();
603 if (!GetContext())
605 EmbeddedWorkerRegistry* registry = GetContext()->embedded_worker_registry();
756 ServiceWorkerContextCore* ServiceWorkerDispatcherHost::GetContext() {