| Index: chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| index c2b7f87f6c4845a891b87221d8f8b1b5d3f5d626..32c1c030254103782abe88eb7276d6c10b109260 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| @@ -317,6 +317,14 @@ void SyncWorker::NotifyLastOperationStatus(
|
| }
|
| }
|
|
|
| +void SyncWorker::RecordTaskLog(scoped_ptr<TaskLogger::TaskLog> task_log) {
|
| + context_->GetUITaskRunner()->PostTask(
|
| + FROM_HERE,
|
| + base::Bind(&TaskLogger::RecordLog,
|
| + context_->GetTaskLogger(),
|
| + base::Passed(&task_log)));
|
| +}
|
| +
|
| void SyncWorker::OnNotificationReceived() {
|
| if (service_state_ == REMOTE_SERVICE_TEMPORARY_UNAVAILABLE)
|
| UpdateServiceState(REMOTE_SERVICE_OK, "Got push notification for Drive.");
|
|
|