Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1589)

Unified Diff: chrome/browser/profiles/gaia_info_update_service.cc

Issue 1091363002: Change ProfileDownloader to use AccountTrackerService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove file committed by mistake. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/gaia_info_update_service.cc
diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc
index 083e21db4168cd2bae61de94c9afe53917fb4ca3..cce47385499404dbef9af71e314debec5cdaa7bb 100644
--- a/chrome/browser/profiles/gaia_info_update_service.cc
+++ b/chrome/browser/profiles/gaia_info_update_service.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/profiles/profile_metrics.h"
#include "chrome/browser/profiles/profiles_state.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/common/profile_management_switches.h"
@@ -59,7 +60,9 @@ void GAIAInfoUpdateService::Update() {
if (profile_image_downloader_)
return;
- profile_image_downloader_.reset(new ProfileDownloader(this));
+ profile_image_downloader_.reset(
+ new ProfileDownloader(this,
+ ChromeSigninClientFactory::GetForProfile(profile_)));
profile_image_downloader_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698