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

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

Issue 8742009: Cache GAIA profile picture URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/profile_downloader_delegate.h
diff --git a/chrome/browser/profiles/profile_downloader_delegate.h b/chrome/browser/profiles/profile_downloader_delegate.h
index 2a71a192bd9ce69b2ab2e47ffeef9bbea7625357..4385665a3489e7093c285058b1e8ef963cf8e0e3 100644
--- a/chrome/browser/profiles/profile_downloader_delegate.h
+++ b/chrome/browser/profiles/profile_downloader_delegate.h
@@ -24,6 +24,10 @@ class ProfileDownloaderDelegate {
// of the originally uploaded size.
virtual int GetDesiredImageSideLength() = 0;
+ // Returns the cached URL. If the cache URL matches the new image URL
+ // the image will not be downloaded.
Ivan Korotkov 2011/11/30 14:35:44 Please document what to return when there is no ca
sail 2011/11/30 19:00:23 Done.
+ virtual std::string GetCachedPictureURL() = 0;
Ivan Korotkov 2011/11/30 14:35:44 I think that this and the previous getter should b
sail 2011/11/30 19:00:23 Done.
+
// Returns the browser profile associated with this download request.
virtual Profile* GetBrowserProfile() = 0;

Powered by Google App Engine
This is Rietveld 408576698