Lines Matching defs:request_it
63 DeviceRequestList::iterator request_it = requests_.begin();
64 for (; request_it != requests_.end(); ++request_it) {
65 if (label == request_it->audio_devices_label ||
66 label == request_it->video_devices_label) {
70 DCHECK(request_it != requests_.end());
72 StreamDeviceInfoArray* audio_devices = &request_it->audio_devices;
73 StreamDeviceInfoArray* video_devices = &request_it->video_devices;
76 if (label == request_it->audio_devices_label) {
77 request_it->has_audio_returned = true;
81 DCHECK(label == request_it->video_devices_label);
82 request_it->has_video_returned = true;
87 if (!request_it->has_audio_returned || !request_it->has_video_returned) {
97 Send(new MediaStreamMsg_GetSourcesACK(request_it->request_id, all_devices));
99 media_stream_manager_->CancelRequest(request_it->audio_devices_label);
100 media_stream_manager_->CancelRequest(request_it->video_devices_label);
101 requests_.erase(request_it);
116 for (DeviceRequestList::iterator request_it = requests_.begin();
117 request_it != requests_.end(); ++request_it) {
118 media_stream_manager_->CancelRequest(request_it->audio_devices_label);
119 media_stream_manager_->CancelRequest(request_it->video_devices_label);