Home
last modified time | relevance | path

Searched refs:provider_host (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/content/browser/service_worker/
Dservice_worker_request_handler.cc75 ServiceWorkerProviderHost* provider_host = in InitializeHandler() local
77 if (!provider_host || !provider_host->IsContextAlive()) in InitializeHandler()
82 provider_host->SetDocumentUrl(net::SimplifyUrlForRequest(request->url())); in InitializeHandler()
87 provider_host->CreateRequestHandler( in InitializeHandler()
112 base::WeakPtr<ServiceWorkerProviderHost> provider_host, in ServiceWorkerRequestHandler() argument
116 provider_host_(provider_host), in ServiceWorkerRequestHandler()
Dservice_worker_dispatcher_host.cc229 ServiceWorkerProviderHost* provider_host = GetContext()->GetProviderHost( in OnRegisterServiceWorker() local
231 if (!provider_host) { in OnRegisterServiceWorker()
235 if (!provider_host->IsContextAlive()) { in OnRegisterServiceWorker()
245 provider_host->document_url(), pattern, script_url)) { in OnRegisterServiceWorker()
257 provider_host, in OnRegisterServiceWorker()
281 ServiceWorkerProviderHost* provider_host = GetContext()->GetProviderHost( in OnUnregisterServiceWorker() local
283 if (!provider_host) { in OnUnregisterServiceWorker()
287 if (!provider_host->IsContextAlive()) { in OnUnregisterServiceWorker()
296 if (!CanUnregisterServiceWorker(provider_host->document_url(), pattern)) { in OnUnregisterServiceWorker()
330 ServiceWorkerProviderHost* provider_host = GetContext()->GetProviderHost( in OnGetRegistration() local
[all …]
Dservice_worker_url_request_job_unittest.cc51 base::WeakPtr<ServiceWorkerProviderHost> provider_host, in MockHttpProtocolHandler() argument
53 : provider_host_(provider_host), in MockHttpProtocolHandler()
112 scoped_ptr<ServiceWorkerProviderHost> provider_host( in SetUpWithHelper() local
115 provider_host->AssociateRegistration(registration_.get()); in SetUpWithHelper()
128 new MockHttpProtocolHandler(provider_host->AsWeakPtr(), in SetUpWithHelper()
134 helper_->context()->AddProviderHost(provider_host.Pass()); in SetUpWithHelper()
Dservice_worker_dispatcher_host_unittest.cc132 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F() local
146 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F() local
191 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F() local
204 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F() local
259 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F() local
272 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F() local
Dservice_worker_version.cc378 ServiceWorkerProviderHost* provider_host) { in AddControllee() argument
379 DCHECK(!ContainsKey(controllee_map_, provider_host)); in AddControllee()
380 int controllee_id = controllee_by_id_.Add(provider_host); in AddControllee()
381 controllee_map_[provider_host] = controllee_id; in AddControllee()
387 ServiceWorkerProviderHost* provider_host) { in RemoveControllee() argument
388 ControlleeMap::iterator found = controllee_map_.find(provider_host); in RemoveControllee()
664 ServiceWorkerProviderHost* provider_host = in OnPostMessageToDocument() local
666 if (!provider_host) { in OnPostMessageToDocument()
670 provider_host->PostMessage(message, sent_message_port_ids); in OnPostMessageToDocument()
Dservice_worker_context_request_handler.cc21 base::WeakPtr<ServiceWorkerProviderHost> provider_host, in ServiceWorkerContextRequestHandler() argument
25 provider_host, in ServiceWorkerContextRequestHandler()
Dservice_worker_job_coordinator.cc74 ServiceWorkerProviderHost* provider_host, in Register() argument
81 queued_job->AddCallback(callback, provider_host); in Register()
Dservice_worker_controllee_request_handler.cc24 base::WeakPtr<ServiceWorkerProviderHost> provider_host, in ServiceWorkerControlleeRequestHandler() argument
29 provider_host, in ServiceWorkerControlleeRequestHandler()
Dservice_worker_context_core.h141 void AddProviderHost(scoped_ptr<ServiceWorkerProviderHost> provider_host); in NON_EXPORTED_BASE()
151 ServiceWorkerProviderHost* provider_host, in NON_EXPORTED_BASE()
Dservice_worker_context_request_handler.h21 base::WeakPtr<ServiceWorkerProviderHost> provider_host,
Dservice_worker_version.h203 void AddControllee(ServiceWorkerProviderHost* provider_host); in NON_EXPORTED_BASE()
204 void RemoveControllee(ServiceWorkerProviderHost* provider_host); in NON_EXPORTED_BASE()
Dservice_worker_job_coordinator.h32 ServiceWorkerProviderHost* provider_host,
Dservice_worker_controllee_request_handler.h30 base::WeakPtr<ServiceWorkerProviderHost> provider_host,
Dservice_worker_request_handler.h80 base::WeakPtr<ServiceWorkerProviderHost> provider_host,
Dservice_worker_register_job.cc64 ServiceWorkerProviderHost* provider_host) { in AddCallback() argument
67 if (provider_host) in AddCallback()
68 provider_host->AddScopedProcessReferenceToPattern(pattern_); in AddCallback()
Dservice_worker_register_job.h62 ServiceWorkerProviderHost* provider_host);
Dservice_worker_context_core.cc178 ServiceWorkerProviderHost* provider_host, in RegisterServiceWorker() argument
191 provider_host, in RegisterServiceWorker()
Dservice_worker_url_request_job.cc36 base::WeakPtr<ServiceWorkerProviderHost> provider_host, in ServiceWorkerURLRequestJob() argument
40 provider_host_(provider_host), in ServiceWorkerURLRequestJob()
Dservice_worker_url_request_job.h39 base::WeakPtr<ServiceWorkerProviderHost> provider_host,
/external/chromium_org/chromeos/network/onc/
Donc_translator_shill_to_onc.cc288 std::string provider_host; in TranslateVPN() local
290 &provider_host)) { in TranslateVPN()
292 provider_host); in TranslateVPN()