Home
last modified time | relevance | path

Searched refs:JobInfo (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/
Djob_list.h63 struct JobInfo { struct
64 explicit JobInfo(JobType job_type);
95 bool IsActiveFileTransferJobInfo(const JobInfo& job_info); argument
102 virtual void OnJobAdded(const JobInfo& job_info) {} in OnJobAdded()
107 virtual void OnJobDone(const JobInfo& job_info, in OnJobDone()
111 virtual void OnJobUpdated(const JobInfo& job_info) {} in OnJobUpdated()
123 virtual std::vector<JobInfo> GetJobInfoList() = 0;
Djob_list.cc75 JobInfo::JobInfo(JobType in_job_type) in JobInfo() function in drive::JobInfo
83 std::string JobInfo::ToString() const { in ToString()
100 bool IsActiveFileTransferJobInfo(const JobInfo& job_info) { in IsActiveFileTransferJobInfo()
Djob_scheduler.h72 virtual std::vector<JobInfo> GetJobInfoList() OVERRIDE;
223 JobInfo job_info;
357 void NotifyJobAdded(const JobInfo& job_info);
358 void NotifyJobDone(const JobInfo& job_info,
360 void NotifyJobUpdated(const JobInfo& job_info);
Djob_scheduler_unittest.cc50 JobInfo info;
52 EventLog(EventType type, const JobInfo& info) : type(type), info(info) { in EventLog()
74 virtual void OnJobAdded(const JobInfo& info) OVERRIDE { in OnJobAdded()
78 virtual void OnJobUpdated(const JobInfo& info) OVERRIDE { in OnJobUpdated()
82 virtual void OnJobDone(const JobInfo& info, FileError error) OVERRIDE { in OnJobDone()
778 TEST_F(JobSchedulerTest, JobInfo) { in TEST_F() argument
853 std::vector<JobInfo> jobs = scheduler_->GetJobInfoList(); in TEST_F()
982 const std::vector<JobInfo>& jobs = scheduler_->GetJobInfoList(); in TEST_F()
1032 const std::vector<JobInfo>& jobs = scheduler_->GetJobInfoList(); in TEST_F()
Djob_scheduler.cc193 std::vector<JobInfo> JobScheduler::GetJobInfoList() { in GetJobInfoList()
194 std::vector<JobInfo> job_info_list; in GetJobInfoList()
716 const JobInfo& job_info = job_entry->job_info; in QueueJob()
766 JobInfo* job_info = &entry->job_info; in DoJobLoop()
826 JobInfo* job_info = &job_entry->job_info; in OnJobDone()
1107 void JobScheduler::NotifyJobAdded(const JobInfo& job_info) { in NotifyJobAdded()
1112 void JobScheduler::NotifyJobDone(const JobInfo& job_info, in NotifyJobDone()
1119 void JobScheduler::NotifyJobUpdated(const JobInfo& job_info) { in NotifyJobUpdated()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Devent_router.h99 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE;
100 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE;
101 virtual void OnJobDone(const drive::JobInfo& job_info,
179 DriveJobInfoWithStatus(const drive::JobInfo& info,
181 drive::JobInfo job_info;
191 void ScheduleDriveFileTransferEvent(const drive::JobInfo& job_info,
Devent_router.cc88 const std::vector<drive::JobInfo>& job_info_list) { in CountActiveFileTransferJobInfo()
102 const drive::JobInfo& job_info, in JobInfoToTransferStatus()
381 const drive::JobInfo& info, const std::string& status) in DriveJobInfoWithStatus()
631 void EventRouter::OnJobAdded(const drive::JobInfo& job_info) { in OnJobAdded()
639 void EventRouter::OnJobUpdated(const drive::JobInfo& job_info) { in OnJobUpdated()
655 void EventRouter::OnJobDone(const drive::JobInfo& job_info, in OnJobDone()
671 void EventRouter::ScheduleDriveFileTransferEvent(const drive::JobInfo& job_info, in ScheduleDriveFileTransferEvent()
Dprivate_api_drive.cc568 std::vector<drive::JobInfo> jobs = job_list->GetJobInfoList(); in RunAsync()
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Ddrive_internals_ui.cc639 std::vector<drive::JobInfo> info_list = job_list->GetJobInfoList(); in UpdateInFlightOperationsSection()
643 const drive::JobInfo& info = info_list[i]; in UpdateInFlightOperationsSection()