Home
last modified time | relevance | path

Searched refs:handle_id (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/content/child/service_worker/
Dservice_worker_message_filter.cc23 int handle_id) { in SendServiceWorkerObjectDestroyed() argument
24 if (handle_id == kInvalidServiceWorkerHandleId) in SendServiceWorkerObjectDestroyed()
27 new ServiceWorkerHostMsg_DecrementServiceWorkerRefCount(handle_id)); in SendServiceWorkerObjectDestroyed()
32 int handle_id) { in SendRegistrationObjectDestroyed() argument
33 if (handle_id == kInvalidServiceWorkerRegistrationHandleId) in SendRegistrationObjectDestroyed()
36 new ServiceWorkerHostMsg_DecrementRegistrationRefCount(handle_id)); in SendRegistrationObjectDestroyed()
87 attrs.installing.handle_id); in OnStaleRegistered()
89 attrs.waiting.handle_id); in OnStaleRegistered()
91 attrs.active.handle_id); in OnStaleRegistered()
92 SendRegistrationObjectDestroyed(thread_safe_sender_.get(), info.handle_id); in OnStaleRegistered()
[all …]
Dservice_worker_provider_context.cc82 DCHECK_NE(kInvalidServiceWorkerRegistrationHandleId, info.handle_id); in OnAssociateRegistration()
102 int handle_id, in OnServiceWorkerStateChanged() argument
105 if (handle_id == controller_handle_id()) in OnServiceWorkerStateChanged()
107 else if (handle_id == active_handle_id()) in OnServiceWorkerStateChanged()
109 else if (handle_id == waiting_handle_id()) in OnServiceWorkerStateChanged()
111 else if (handle_id == installing_handle_id()) in OnServiceWorkerStateChanged()
164 return installing_ ? installing_->info().handle_id in installing_handle_id()
170 return waiting_ ? waiting_->info().handle_id in waiting_handle_id()
176 return active_ ? active_->info().handle_id in active_handle_id()
182 return controller_ ? controller_->info().handle_id in controller_handle_id()
[all …]
Dservice_worker_dispatcher.cc229 if (info.handle_id == kInvalidServiceWorkerHandleId) in GetServiceWorker()
233 service_workers_.find(info.handle_id); in GetServiceWorker()
258 registrations_.find(info.handle_id); in FindServiceWorkerRegistration()
275 if (info.handle_id == kInvalidServiceWorkerRegistrationHandleId) in CreateServiceWorkerRegistration()
298 if (attrs.installing.handle_id != kInvalidServiceWorkerHandleId) in OnAssociateRegistration()
299 worker_to_provider_[attrs.installing.handle_id] = provider->second; in OnAssociateRegistration()
300 if (attrs.waiting.handle_id != kInvalidServiceWorkerHandleId) in OnAssociateRegistration()
301 worker_to_provider_[attrs.waiting.handle_id] = provider->second; in OnAssociateRegistration()
302 if (attrs.active.handle_id != kInvalidServiceWorkerHandleId) in OnAssociateRegistration()
303 worker_to_provider_[attrs.active.handle_id] = provider->second; in OnAssociateRegistration()
[all …]
Dservice_worker_handle_reference.cc34 info_.handle_id != kInvalidServiceWorkerHandleId) { in ServiceWorkerHandleReference()
37 info_.handle_id)); in ServiceWorkerHandleReference()
42 if (info_.handle_id != kInvalidServiceWorkerHandleId) { in ~ServiceWorkerHandleReference()
45 info_.handle_id)); in ~ServiceWorkerHandleReference()
Dweb_service_worker_impl.cc32 dispatcher->AddServiceWorker(handle_ref_->handle_id(), this); in WebServiceWorkerImpl()
36 if (handle_ref_->handle_id() == kInvalidServiceWorkerHandleId) in ~WebServiceWorkerImpl()
41 dispatcher->RemoveServiceWorker(handle_ref_->handle_id()); in ~WebServiceWorkerImpl()
87 handle_ref_->handle_id(), in postMessage()
Dservice_worker_registration_handle_reference.cc35 DCHECK_NE(kInvalidServiceWorkerRegistrationHandleId, info_.handle_id); in ServiceWorkerRegistrationHandleReference()
40 new ServiceWorkerHostMsg_IncrementRegistrationRefCount(info_.handle_id)); in ServiceWorkerRegistrationHandleReference()
46 new ServiceWorkerHostMsg_DecrementRegistrationRefCount(info_.handle_id)); in ~ServiceWorkerRegistrationHandleReference()
Dservice_worker_registration_handle_reference.h34 int handle_id() const { return info_.handle_id; } in handle_id() function
Dweb_service_worker_registration_impl.cc28 handle_ref_->handle_id()); in WebServiceWorkerRegistrationImpl()
32 dispatcher->AddServiceWorkerRegistration(handle_ref_->handle_id(), this); in WebServiceWorkerRegistrationImpl()
39 dispatcher->RemoveServiceWorkerRegistration(handle_ref_->handle_id()); in ~WebServiceWorkerRegistrationImpl()
Dservice_worker_handle_reference.h37 int handle_id() const { return info_.handle_id; } in handle_id() function
Dservice_worker_dispatcher.h183 int handle_id,
218 void AddServiceWorker(int handle_id, WebServiceWorkerImpl* worker);
219 void RemoveServiceWorker(int handle_id);
Dservice_worker_provider_context.h45 void OnServiceWorkerStateChanged(int handle_id,
/external/chromium_org/content/browser/service_worker/
Dservice_worker_dispatcher_host.h105 void OnPostMessage(int handle_id,
108 void OnIncrementServiceWorkerRefCount(int handle_id);
109 void OnDecrementServiceWorkerRefCount(int handle_id);
112 void OnPostMessageToWorker(int handle_id,
115 void OnServiceWorkerObjectDestroyed(int handle_id);
Dservice_worker_dispatcher_host.cc202 int handle_id = handle->handle_id(); in RegisterServiceWorkerHandle() local
203 handles_.AddWithID(handle.release(), handle_id); in RegisterServiceWorkerHandle()
208 int handle_id = handle->handle_id(); in RegisterServiceWorkerRegistrationHandle() local
209 registration_handles_.AddWithID(handle.release(), handle_id); in RegisterServiceWorkerRegistrationHandle()
372 int handle_id, in OnPostMessageToWorker() argument
380 ServiceWorkerHandle* handle = handles_.Lookup(handle_id); in OnPostMessageToWorker()
617 int handle_id) { in OnIncrementServiceWorkerRefCount() argument
620 ServiceWorkerHandle* handle = handles_.Lookup(handle_id); in OnIncrementServiceWorkerRefCount()
629 int handle_id) { in OnDecrementServiceWorkerRefCount() argument
632 ServiceWorkerHandle* handle = handles_.Lookup(handle_id); in OnDecrementServiceWorkerRefCount()
[all …]
Dservice_worker_handle_unittest.cc109 VerifyStateChangedMessage(handle->handle_id(), in TEST_F()
116 VerifyStateChangedMessage(handle->handle_id(), in TEST_F()
Dservice_worker_registration_handle.h45 int handle_id() const { return handle_id_; } in handle_id() function
Dservice_worker_handle.h74 int handle_id() const { return handle_id_; } in NON_EXPORTED_BASE()
Dservice_worker_handle.cc111 info.handle_id = handle_id_; in GetObjectInfo()
Dservice_worker_registration_handle.cc43 info.handle_id = handle_id_; in GetObjectInfo()
/external/chromium_org/content/common/service_worker/
Dservice_worker_types.cc52 : handle_id(kInvalidServiceWorkerHandleId), in ServiceWorkerObjectInfo()
56 : handle_id(kInvalidServiceWorkerRegistrationHandleId) {} in ServiceWorkerRegistrationObjectInfo()
Dservice_worker_types.h123 int handle_id; member
131 int handle_id; member
Dservice_worker_messages.h73 IPC_STRUCT_TRAITS_MEMBER(handle_id)
80 IPC_STRUCT_TRAITS_MEMBER(handle_id)
/external/chromium_org/media/tools/constrained_network_server/
Dtraffic_control_test.py160 handle_id = traffic_control._GetFilterHandleId(config['interface'],
162 self.assertNotEqual(handle_id, None)
Dtraffic_control.py259 handle_id = _GetFilterHandleId(interface, port)
261 'parent', '1:0', 'handle', handle_id, 'prio', '1', 'u32']
/external/chromium_org/third_party/libusb/src/libusb/
Dhotplug.c208 static int handle_id = 1; in libusb_hotplug_register_callback() local
244 new_callback->handle = handle_id++; in libusb_hotplug_register_callback()
/external/chromium_org/content/renderer/
Dspeech_recognition_dispatcher.h59 const blink::WebSpeechRecognitionHandle& GetHandleFromID(int handle_id);