Index: chrome/browser/chromeos/drive/job_list_interface.h |
diff --git a/chrome/browser/chromeos/drive/job_list_interface.h b/chrome/browser/chromeos/drive/job_list_interface.h |
index 1d4637e2db93e98321f854ecf7ef971441c4aa25..f953fa6208ce593555d86116ea974aea67eef3d8 100644 |
--- a/chrome/browser/chromeos/drive/job_list_interface.h |
+++ b/chrome/browser/chromeos/drive/job_list_interface.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/files/file_path.h" |
+#include "chrome/browser/chromeos/drive/drive_file_error.h" |
namespace drive { |
@@ -87,7 +88,10 @@ class JobListObserver { |
virtual void OnJobAdded(const JobInfo& job_info) {} |
// Called when a job id finished. |
- virtual void OnJobDone(const JobInfo& job_info) {} |
+ // |error| is DRIVE_FILE_OK when the job successfully finished, and a value |
+ // telling the reason of failure when the jobs is failed. |
+ virtual void OnJobDone(const JobInfo& job_info, |
+ DriveFileError error) {} |
// Called when a job status is updated. |
virtual void OnJobUpdated(const JobInfo& job_info) {} |