Home
last modified time | relevance | path

Searched refs:job_map_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/components/policy/core/common/cloud/
Dexternal_policy_data_fetcher.cc160 STLDeleteContainerPairFirstPointers(job_map_.begin(), job_map_.end()); in ~ExternalPolicyDataFetcherBackend()
182 job_map_[fetcher] = job; in StartJob()
189 for (JobMap::iterator it = job_map_.begin(); it != job_map_.end(); ) { in CancelJob()
192 job_map_.erase(it++); in CancelJob()
203 JobMap::iterator it = job_map_.find(const_cast<net::URLFetcher*>(source)); in OnURLFetchComplete()
204 if (it == job_map_.end()) { in OnURLFetchComplete()
241 job_map_.erase(it); in OnURLFetchComplete()
250 JobMap::iterator it = job_map_.find(const_cast<net::URLFetcher*>(source)); in OnURLFetchDownloadProgress()
251 DCHECK(it != job_map_.end()); in OnURLFetchDownloadProgress()
252 if (it == job_map_.end()) in OnURLFetchDownloadProgress()
[all …]
Dexternal_policy_data_updater.cc309 STLDeleteValues(&job_map_); in ~ExternalPolicyDataUpdater()
319 FetchJob* job = job_map_[key]; in FetchExternalData()
330 job_map_.erase(key); in FetchExternalData()
335 job_map_[key] = job; in FetchExternalData()
346 std::map<std::string, FetchJob*>::iterator job = job_map_.find(key); in CancelExternalDataFetch()
347 if (job != job_map_.end()) { in CancelExternalDataFetch()
349 job_map_.erase(job); in CancelExternalDataFetch()
371 DCHECK_EQ(job_map_[job->key()], job); in ScheduleJob()
380 DCHECK_EQ(job_map_[job->key()], job); in OnJobSucceeded()
383 job_map_.erase(job->key()); in OnJobSucceeded()
[all …]
Dexternal_policy_data_updater.h116 std::map<std::string, FetchJob*> job_map_; variable
Dexternal_policy_data_fetcher.h174 JobMap job_map_; variable
/external/chromium_org/chrome/browser/chromeos/drive/
Djob_scheduler.cc188 DCHECK_EQ(num_queued_jobs, job_map_.size()); in ~JobScheduler()
195 for (JobIDMap::iterator iter(&job_map_); !iter.IsAtEnd(); iter.Advance()) in GetJobInfoList()
213 JobEntry* job = job_map_.Lookup(job_id); in CancelJob()
232 for (JobIDMap::iterator iter(&job_map_); !iter.IsAtEnd(); iter.Advance()) in CancelAllJobs()
699 job->job_info.job_id = job_map_.Add(job); // Takes the ownership of |job|. in CreateNewJob()
714 JobEntry* job_entry = job_map_.Lookup(job_id); in QueueJob()
740 JobEntry* job = job_map_.Lookup(jobs[i]); in DoJobLoop()
763 JobEntry* entry = job_map_.Lookup(job_id); in DoJobLoop()
824 JobEntry* job_entry = job_map_.Lookup(job_id); in OnJobDone()
866 job_map_.Remove(job_id); in OnJobDone()
[all …]
Djob_scheduler.h384 JobIDMap job_map_; variable