Home | History | Annotate | Download | only in policy

Lines Matching refs:job

131   for (JobFetcherMap::iterator job(pending_jobs_.begin());
132 job != pending_jobs_.end();
133 ++job) {
134 delete job->first;
135 queued_jobs_.push_back(job->second);
145 void DeviceManagementService::AddJob(DeviceManagementJob* job) {
147 StartJob(job);
149 queued_jobs_.push_back(job);
152 void DeviceManagementService::RemoveJob(DeviceManagementJob* job) {
156 if (entry->second == job) {
164 std::find(queued_jobs_.begin(), queued_jobs_.end(), job);
169 void DeviceManagementService::StartJob(DeviceManagementJob* job) {
170 URLFetcher* fetcher = URLFetcher::Create(0, job->GetURL(server_url_),
176 job->ConfigureRequest(fetcher);
177 pending_jobs_[fetcher] = job;
190 DeviceManagementJob* job = entry->second;
192 job->HandleResponse(status, response_code, cookies, data);