Home
last modified time | relevance | path

Searched refs:request_it (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/content/browser/renderer_host/media/
Ddevice_request_message_filter.cc63 DeviceRequestList::iterator request_it = requests_.begin(); in DevicesEnumerated() local
64 for (; request_it != requests_.end(); ++request_it) { in DevicesEnumerated()
65 if (label == request_it->audio_devices_label || in DevicesEnumerated()
66 label == request_it->video_devices_label) { in DevicesEnumerated()
70 DCHECK(request_it != requests_.end()); in DevicesEnumerated()
72 StreamDeviceInfoArray* audio_devices = &request_it->audio_devices; in DevicesEnumerated()
73 StreamDeviceInfoArray* video_devices = &request_it->video_devices; in DevicesEnumerated()
76 if (label == request_it->audio_devices_label) { in DevicesEnumerated()
77 request_it->has_audio_returned = true; in DevicesEnumerated()
81 DCHECK(label == request_it->video_devices_label); in DevicesEnumerated()
[all …]
Dmedia_stream_manager.cc502 for (DeviceRequests::const_iterator request_it = requests_.begin(); in CancelRequest() local
503 request_it != requests_.end(); ++request_it) { in CancelRequest()
504 const DeviceRequest* request = request_it->second; in CancelRequest()
508 CancelRequest(request_it->first); in CancelRequest()
554 DeviceRequests::iterator request_it = requests_.begin(); in CancelAllRequests() local
555 while (request_it != requests_.end()) { in CancelAllRequests()
556 if (request_it->second->requesting_process_id != render_process_id) { in CancelAllRequests()
557 ++request_it; in CancelAllRequests()
561 std::string label = request_it->first; in CancelAllRequests()
562 ++request_it; in CancelAllRequests()
[all …]
/external/chromium_org/chrome/browser/chromeos/file_system_provider/
Drequest_manager.cc122 RequestMap::iterator request_it = requests_.find(request_id); in FulfillRequest() local
123 if (request_it == requests_.end()) in FulfillRequest()
130 request_it->second->handler->OnSuccess(request_id, response.Pass(), has_more); in FulfillRequest()
147 RequestMap::iterator request_it = requests_.find(request_id); in RejectRequest() local
148 if (request_it == requests_.end()) in RejectRequest()
154 request_it->second->handler->OnError(request_id, response.Pass(), error); in RejectRequest()
167 for (RequestMap::const_iterator request_it = requests_.begin(); in GetActiveRequestIds() local
168 request_it != requests_.end(); in GetActiveRequestIds()
169 ++request_it) { in GetActiveRequestIds()
170 result.push_back(request_it->first); in GetActiveRequestIds()
[all …]
/external/chromium_org/chrome/browser/predictors/
Dresource_prefetcher.cc93 std::list<Request*>::iterator request_it = request_queue_.begin(); in TryToLaunchPrefetchRequests() local
94 for (; request_it != request_queue_.end(); ++request_it) { in TryToLaunchPrefetchRequests()
95 const std::string& host = (*request_it)->resource_url.host(); in TryToLaunchPrefetchRequests()
104 request_available = request_it != request_queue_.end(); in TryToLaunchPrefetchRequests()
107 SendRequest(*request_it); in TryToLaunchPrefetchRequests()
108 request_queue_.erase(request_it); in TryToLaunchPrefetchRequests()
145 std::map<net::URLRequest*, Request*>::iterator request_it = in FinishRequest() local
147 CHECK(request_it != inflight_requests_.end()); in FinishRequest()
157 request_it->second->prefetch_status = status; in FinishRequest()
158 inflight_requests_.erase(request_it); in FinishRequest()
/external/chromium_org/chrome/browser/extensions/api/log_private/
Dlog_private_api_chromeos.cc82 request_it = logs->begin(); request_it != logs->end(); ++request_it) { in CollectLogInfo() local
83 if (!filter_handler->IsValidSource(request_it->first)) { in CollectLogInfo()
86 scoped_ptr<LogParser> parser(CreateLogParser(request_it->first)); in CollectLogInfo()
88 parser->Parse(request_it->second, output, filter_handler); in CollectLogInfo()
/external/chromium_org/ui/base/x/
Dselection_requestor.cc92 std::vector<Request*>::iterator request_it = std::find( in PerformBlockingConvertSelection() local
94 CHECK(request_it != requests_.end()); in PerformBlockingConvertSelection()
96 request_it - requests_.begin()) { in PerformBlockingConvertSelection()
99 requests_.erase(request_it); in PerformBlockingConvertSelection()
/external/chromium_org/ui/display/chromeos/
Ddisplay_configurator.cc237 ContentProtections::const_iterator request_it; in ApplyProtections() local
239 for (request_it = requests.begin(); in ApplyProtections()
240 request_it != requests.end(); in ApplyProtections()
241 ++request_it) in ApplyProtections()
242 all_desired |= request_it->second; in ApplyProtections()
244 request_it = requests.find(it->display->display_id()); in ApplyProtections()
245 if (request_it != requests.end()) in ApplyProtections()
246 all_desired = request_it->second; in ApplyProtections()
/external/chromium_org/content/renderer/media/
Dmedia_stream_center.cc219 RequestMap::iterator request_it = requests_.find(request_id); in OnGetSourcesComplete() local
220 DCHECK(request_it != requests_.end()); in OnGetSourcesComplete()
247 request_it->second.requestSucceeded(sourceInfos); in OnGetSourcesComplete()
Duser_media_client_impl.cc843 UserMediaRequests::iterator request_it = user_media_requests_.begin(); in DeleteAllUserMediaRequests() local
844 while (request_it != user_media_requests_.end()) { in DeleteAllUserMediaRequests()
847 << "Cancel user media request " << (*request_it)->request_id; in DeleteAllUserMediaRequests()
852 if (!(*request_it)->generated) { in DeleteAllUserMediaRequests()
853 DCHECK(!(*request_it)->HasPendingSources()); in DeleteAllUserMediaRequests()
855 (*request_it)->request_id, weak_factory_.GetWeakPtr()); in DeleteAllUserMediaRequests()
858 DCHECK((*request_it)->HasPendingSources()); in DeleteAllUserMediaRequests()
862 request_it = user_media_requests_.erase(request_it); in DeleteAllUserMediaRequests()
Dmedia_stream_video_source.cc495 for (std::vector<RequestedConstraints>::iterator request_it = in FindBestFormatWithConstraints() local
497 request_it != requested_constraints_.end(); ++request_it) { in FindBestFormatWithConstraints()
499 request_it->constraints; in FindBestFormatWithConstraints()
/external/chromium_org/chrome/browser/ui/webui/net_internals/
Dnet_internals_ui.cc813 for (std::list<SystemLogRequest>::iterator request_it = requests_.begin(); in OnSystemLogsLoaded() local
814 request_it != requests_.end(); in OnSystemLogsLoaded()
815 ++request_it) { in OnSystemLogsLoaded()
816 SendLogs(*request_it); in OnSystemLogsLoaded()
1653 for (std::set<const net::URLRequest*>::const_iterator request_it = in PrePopulateEventList() local
1655 request_it != context_requests->end(); ++request_it) { in PrePopulateEventList()
1656 DCHECK_EQ(io_thread_->net_log(), (*request_it)->net_log().net_log()); in PrePopulateEventList()
1657 requests.push_back(*request_it); in PrePopulateEventList()
1665 for (std::vector<const net::URLRequest*>::const_iterator request_it = in PrePopulateEventList() local
1667 request_it != requests.end(); ++request_it) { in PrePopulateEventList()
[all …]