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

Unified Diff: chrome/browser/profiles/profiles_state.h

Issue 222313005: [Profiles] Download high-res avatars using the --new-profile-management flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: msw comments Created 6 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/profiles_state.h
diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h
index 9f0178d3016e944b05635ce62acef2f9ceb37ff9..6a4fd6372884b68153fb2a0af3bd245c511889de 100644
--- a/chrome/browser/profiles/profiles_state.h
+++ b/chrome/browser/profiles/profiles_state.h
@@ -48,6 +48,9 @@ std::vector<std::string> GetSecondaryAccountsForProfile(
// incognito profiles.
bool IsRegularOrGuestSession(Browser* browser);
+// If the file doesn't already exist, starts a download for the high res
+// avatar at |icon_index|.
+void DownloadHighResAvatarIfNeeded(size_t icon_index);
} // namespace profiles
#endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_

Powered by Google App Engine
This is Rietveld 408576698