Home
last modified time | relevance | path

Searched refs:pending_callbacks_ (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/ppapi/shared_impl/
Dcallback_tracker.cc25 CallbackSetMap pending_callbacks_copy = pending_callbacks_; in AbortAll()
39 CallbackSetMap::iterator it1 = pending_callbacks_.find(resource_id); in PostAbortForResource()
40 if (it1 == pending_callbacks_.end()) in PostAbortForResource()
52 CHECK_EQ(0u, pending_callbacks_.size()); in ~CallbackTracker()
58 DCHECK(pending_callbacks_[resource_id].find(tracked_callback) == in Add()
59 pending_callbacks_[resource_id].end()); in Add()
60 pending_callbacks_[resource_id].insert(tracked_callback); in Add()
66 pending_callbacks_.find(tracked_callback->resource_id()); in Remove()
67 DCHECK(map_it != pending_callbacks_.end()); in Remove()
74 pending_callbacks_.erase(map_it); in Remove()
Dcallback_tracker.h93 CallbackSetMap pending_callbacks_; variable
/external/chromium_org/content/renderer/screen_orientation/
Dscreen_orientation_dispatcher.cc36 pending_callbacks_.Lookup(request_id); in OnLockSuccess()
40 pending_callbacks_.Remove(request_id); in OnLockSuccess()
46 pending_callbacks_.Lookup(request_id); in OnLockError()
50 pending_callbacks_.Remove(request_id); in OnLockError()
55 iterator(&pending_callbacks_); !iterator.IsAtEnd(); iterator.Advance()) { in CancelPendingLocks()
57 pending_callbacks_.Remove(iterator.GetCurrentKey()); in CancelPendingLocks()
66 int request_id = pending_callbacks_.Add(callback); in lockOrientation()
Dscreen_orientation_dispatcher.h56 CallbackMap pending_callbacks_; variable
/external/chromium_org/content/renderer/dom_storage/
Ddom_storage_cached_area_unittest.cc30 pending_callbacks_.push_back(callback); in LoadArea()
42 pending_callbacks_.push_back(callback); in SetItem()
59 pending_callbacks_.push_back(callback); in RemoveItem()
69 pending_callbacks_.push_back(callback); in ClearArea()
89 while (!pending_callbacks_.empty()) in CompleteAllPendingCallbacks()
94 ASSERT_TRUE(!pending_callbacks_.empty()); in CompleteOnePendingCallback()
95 pending_callbacks_.front().Run(success); in CompleteOnePendingCallback()
96 pending_callbacks_.pop_front(); in CompleteOnePendingCallback()
102 CallbackList pending_callbacks_; member in content::__anonc42b0b8b0111::MockProxy
154 mock_proxy_->pending_callbacks_.clear(); in ResetAll()
[all …]
Ddom_storage_dispatcher.cc148 if (pending_callbacks_.empty()) in PushPendingCallback()
150 pending_callbacks_.push_back(callback); in PushPendingCallback()
154 CompletionCallback callback = pending_callbacks_.front(); in PopPendingCallback()
155 pending_callbacks_.pop_front(); in PopPendingCallback()
156 if (pending_callbacks_.empty()) in PopPendingCallback()
174 CallbackList pending_callbacks_; member in content::DomStorageDispatcher::ProxyImpl
236 pending_callbacks_.clear(); in Shutdown()
/external/chromium_org/content/child/indexed_db/
Dindexed_db_dispatcher.cc60 pending_callbacks_.Clear(); in ~IndexedDBDispatcher()
63 DCHECK(pending_callbacks_.IsEmpty()); in ~IndexedDBDispatcher()
183 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); in RequestIDBCursorAdvance()
199 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); in RequestIDBCursorContinue()
210 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); in RequestIDBCursorPrefetch()
235 params.ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); in RequestIDBFactoryOpen()
252 params.ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); in RequestIDBFactoryGetDatabaseNames()
265 params.ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); in RequestIDBFactoryDeleteDatabase()
461 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); in RequestIDBDatabaseClear()
485 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); in OnSuccessIDBDatabase()
[all …]
Dindexed_db_dispatcher.h190 params->ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); in init_params()
249 IDMap<blink::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_; variable
/external/chromium_org/content/browser/manifest/
Dmanifest_manager_host.cc36 FrameCallbackMap::iterator it = pending_callbacks_.find(render_frame_host); in GetCallbackMapForFrame()
37 return it != pending_callbacks_.end() ? it->second : 0; in GetCallbackMapForFrame()
52 pending_callbacks_.erase(render_frame_host); in RenderFrameDeleted()
60 pending_callbacks_[render_frame_host] = callbacks; in GetManifest()
127 pending_callbacks_.erase(render_frame_host); in OnRequestManifestResponse()
Dmanifest_manager_host.h59 FrameCallbackMap pending_callbacks_;
/external/chromium_org/content/renderer/manifest/
Dmanifest_manager.cc84 pending_callbacks_.push_back(callback); in GetManifest()
87 if (pending_callbacks_.size() > 1) in GetManifest()
138 std::list<GetManifestCallback> callbacks = pending_callbacks_; in ResolveCallbacks()
140 pending_callbacks_.clear(); in ResolveCallbacks()
Dmanifest_manager.h77 std::list<GetManifestCallback> pending_callbacks_; variable
/external/chromium_org/remoting/host/
Doauth_token_getter.cc108 std::queue<TokenCallback> callbacks(pending_callbacks_); in NotifyCallbacks()
109 pending_callbacks_ = std::queue<TokenCallback>(); in NotifyCallbacks()
146 pending_callbacks_.push(on_access_token); in CallWithToken()
Doauth_token_getter.h92 std::queue<OAuthTokenGetter::TokenCallback> pending_callbacks_; variable
/external/chromium_org/chrome/browser/net/
Ddns_probe_service.cc101 pending_callbacks_.push_back(callback); in ProbeDns()
199 DCHECK(!pending_callbacks_.empty()); in CallCallbacks()
202 callbacks.swap(pending_callbacks_); in CallCallbacks()
Ddns_probe_service.h68 std::vector<ProbeCallback> pending_callbacks_; variable
/external/chromium_org/media/base/
Dpipeline.cc325 DCHECK_EQ(pending_callbacks_.get() != NULL, state_ == kSeeking); in StateTransitionTask()
327 pending_callbacks_.reset(); in StateTransitionTask()
378 DCHECK(!pending_callbacks_.get()); in DoSeek()
402 pending_callbacks_ = SerialRunner::Run(bound_fns, done_cb); in DoSeek()
408 DCHECK(!pending_callbacks_.get()); in DoStop()
531 pending_callbacks_.reset(); in StopTask()
545 pending_callbacks_.reset(); in ErrorChangedTask()
Dpipeline.h358 scoped_ptr<SerialRunner> pending_callbacks_; variable
/external/chromium_org/chrome/browser/chromeos/drive/
Dchange_list_loader.cc224 if (pending_callbacks_.count(current_update_task_id_)) { in GetAboutResource()
225 pending_callbacks_[current_update_task_id_].push_back(callback); in GetAboutResource()
248 pending_callbacks_[current_update_task_id_].push_back(callback); in UpdateAboutResource()
264 pending_callbacks_[task_id]; in UpdateAboutResourceAfterGetAbout()
265 pending_callbacks_.erase(task_id); in UpdateAboutResourceAfterGetAbout()
Dchange_list_loader.h119 pending_callbacks_; variable
/external/chromium_org/net/socket/
Dwebsocket_transport_client_socket_pool.cc373 pending_callbacks_.erase(handle); in CancelRequest()
433 if (pending_callbacks_.count(handle)) in GetLoadState()
514 DCHECK(!pending_callbacks_.count(handle)); in InvokeUserCallbackLater()
515 pending_callbacks_.insert(handle); in InvokeUserCallbackLater()
529 if (pending_callbacks_.erase(handle)) in InvokeUserCallback()
Dwebsocket_transport_client_socket_pool.h229 std::set<const ClientSocketHandle*> pending_callbacks_; variable
/external/chromium_org/chrome/browser/history/
Dtop_sites_impl.h252 PendingCallbacks pending_callbacks_; variable
Dtop_sites_impl.cc217 pending_callbacks_.push_back( in GetMostVisitedURLs()
863 if (!pending_callbacks_.empty()) { in MoveStateToLoaded()
870 pending_callbacks.swap(pending_callbacks_); in MoveStateToLoaded()