| 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 3e8f2cd2798bce8ad7ac0abb18e71c0f1e720a52..9b66ec112114123c4209cbd4be4dd14a472fe668 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| @@ -337,7 +337,7 @@ void SyncWorker::OnNotificationReceived() {
|
| MaybeScheduleNextTask();
|
| }
|
|
|
| -void SyncWorker::OnReadyToSendRequests(const std::string& account_id) {
|
| +void SyncWorker::OnReadyToSendRequests() {
|
| DCHECK(sequence_checker_.CalledOnValidSequencedThread());
|
|
|
| has_refresh_token_ = true;
|
| @@ -346,8 +346,7 @@ void SyncWorker::OnReadyToSendRequests(const std::string& account_id) {
|
| return;
|
| UpdateServiceState(REMOTE_SERVICE_OK, "Authenticated");
|
|
|
| - if (!GetMetadataDatabase() && !account_id.empty()) {
|
| - GetDriveService()->Initialize(account_id);
|
| + if (!GetMetadataDatabase()) {
|
| PostInitializeTask();
|
| return;
|
| }
|
|
|