Home | History | Annotate | Download | only in download

Lines Matching refs:job_id

106   int job_id = NewJob(web_contents, callback);
112 job_id, file, renderer_process));
121 int job_id = NewJob(web_contents, callback);
129 FileAvailable(job_id, browser_file.Pass(), renderer_file);
133 void MHTMLGenerationManager::MHTMLGenerated(int job_id, int64 mhtml_data_size) {
134 JobFinished(job_id, mhtml_data_size);
138 int job_id, const base::FilePath& file_path,
157 job_id,
163 int job_id,
169 JobFinished(job_id, -1);
173 IDToJobMap::iterator iter = id_to_job_.find(job_id);
186 JobFinished(job_id, -1);
190 rvh->Send(new ViewMsg_SavePageAsMHTML(rvh->GetRoutingID(), job_id,
194 void MHTMLGenerationManager::JobFinished(int job_id, int64 file_size) {
196 IDToJobMap::iterator iter = id_to_job_.find(job_id);
209 id_to_job_.erase(job_id);
221 int job_id = id_counter++;
223 id_to_job_[job_id] = job;
226 return job_id;