Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5296)

Unified Diff: chrome/browser/chromeos/drive/drive_scheduler.cc

Issue 14188035: Pass error code for drive::JobListObserver::OnJobDone(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/drive/drive_scheduler.h ('k') | chrome/browser/chromeos/drive/job_list_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_scheduler.cc
diff --git a/chrome/browser/chromeos/drive/drive_scheduler.cc b/chrome/browser/chromeos/drive/drive_scheduler.cc
index 1d5220ee375b3ad8b2a615d9d56f29d99b1e137a..fbb553f61208393b29c4635b9ea79ac99d12ebaf 100644
--- a/chrome/browser/chromeos/drive/drive_scheduler.cc
+++ b/chrome/browser/chromeos/drive/drive_scheduler.cc
@@ -912,9 +912,11 @@ void DriveScheduler::NotifyJobAdded(const JobInfo& job_info) {
FOR_EACH_OBSERVER(JobListObserver, observer_list_, OnJobAdded(job_info));
}
-void DriveScheduler::NotifyJobDone(const JobInfo& job_info) {
+void DriveScheduler::NotifyJobDone(const JobInfo& job_info,
+ DriveFileError error) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- FOR_EACH_OBSERVER(JobListObserver, observer_list_, OnJobDone(job_info));
+ FOR_EACH_OBSERVER(JobListObserver, observer_list_,
+ OnJobDone(job_info, error));
}
void DriveScheduler::NotifyJobUpdated(const JobInfo& job_info) {
« no previous file with comments | « chrome/browser/chromeos/drive/drive_scheduler.h ('k') | chrome/browser/chromeos/drive/job_list_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698