Chromium Code Reviews| Index: chrome/browser/chromeos/login/login_utils.cc |
| diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc |
| index e3ef041327e7d885ee675749552f89c140f64d98..147ceb715b63f3638fd9395f8456a9637fba075e 100644 |
| --- a/chrome/browser/chromeos/login/login_utils.cc |
| +++ b/chrome/browser/chromeos/login/login_utils.cc |
| @@ -54,6 +54,7 @@ |
| #include "chrome/browser/signin/signin_manager_factory.h" |
| #include "chrome/browser/signin/token_service.h" |
| #include "chrome/browser/sync/profile_sync_service.h" |
| +#include "chrome/browser/sync/profile_sync_service_factory.h" |
| #include "chrome/browser/ui/browser_init.h" |
| #include "chrome/common/chrome_paths.h" |
| #include "chrome/common/chrome_switches.h" |
| @@ -910,7 +911,8 @@ void LoginUtilsImpl::StartSignedInServices( |
| initialized = true; |
| // Pass the updated passphrase to the sync service for use in decrypting |
| // data encrypted with the user's GAIA password. |
| - ProfileSyncService* sync_service = user_profile->GetProfileSyncService(); |
| + ProfileSyncService* sync_service( |
| + ProfileSyncServiceFactory::GetInstance()->GetForProfile(user_profile); |
|
Andrew T Wilson (Slow)
2012/01/26 23:09:09
Does this compile? I don't see a closing paren for
|
| if (sync_service) |
| sync_service->SetPassphrase(password_, false); |
| } |