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

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

Issue 267253004: Fetch a new GAIA picture every time chrome://settings/manageProfile comes up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 b7fd973769a81b5249d9c93210a80d701145aae8..6e79b855a5547a9a6f98a6d1df72e2113c2f3bcc 100644
--- a/chrome/browser/profiles/gaia_info_update_service.cc
+++ b/chrome/browser/profiles/gaia_info_update_service.cc
@@ -132,13 +132,6 @@ void GAIAInfoUpdateService::OnProfileDownloadSuccess(
} else if (picture_status == ProfileDownloader::PICTURE_DEFAULT) {
cache.SetGAIAPictureOfProfileAtIndex(profile_index, NULL);
}
-
- // Order matters here for shortcut management, like in
- // ProfileShortcutManagerWin::OnProfileAdded, as the picture update does not
- // allow us to change the target, so we have to apply any renaming first. We
- // also need to re-fetch the index, as changing the profile name may alter it.
- profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath());
- cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, true);
}
void GAIAInfoUpdateService::OnProfileDownloadFailure(

Powered by Google App Engine
This is Rietveld 408576698