Index: chrome/browser/supervised_user/legacy/custodian_profile_downloader_service.cc |
diff --git a/chrome/browser/supervised_user/legacy/custodian_profile_downloader_service.cc b/chrome/browser/supervised_user/legacy/custodian_profile_downloader_service.cc |
index 2c338b96d66d3daefbf1991cb5a2dd30c67ac12a..9d81ee9cd30964a8e98b64835dec2271fb8bf43d 100644 |
--- a/chrome/browser/supervised_user/legacy/custodian_profile_downloader_service.cc |
+++ b/chrome/browser/supervised_user/legacy/custodian_profile_downloader_service.cc |
@@ -6,6 +6,7 @@ |
#include "base/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/browser/signin/chrome_signin_client_factory.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
#include "chrome/common/pref_names.h" |
#include "components/signin/core/browser/signin_manager.h" |
@@ -42,7 +43,9 @@ void CustodianProfileDownloaderService::DownloadProfile( |
// queueing them up, and more likely that the one that hasn't ended yet is |
// failing somehow than that the new one won't succeed. |
in_progress_profile_email_ = current_email; |
- profile_downloader_.reset(new ProfileDownloader(this)); |
+ profile_downloader_.reset( |
Marc Treib
2015/05/06 21:30:05
nit: Is this a valid way to break the line? I'd wr
anthonyvd
2015/05/14 15:39:23
Done.
|
+ new ProfileDownloader(this, |
+ ChromeSigninClientFactory::GetForProfile(custodian_profile_))); |
profile_downloader_->Start(); |
} |