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

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

Issue 1794353003: Refactor ProfileInfoCache in c/b/profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/profile_avatar_downloader.h
diff --git a/chrome/browser/profiles/profile_avatar_downloader.h b/chrome/browser/profiles/profile_avatar_downloader.h
index f2f086e347a74f941789e67214fe61881018ea7d..2d6ab332740728e19c0ad5c271eb90f1f02d8bb7 100644
--- a/chrome/browser/profiles/profile_avatar_downloader.h
+++ b/chrome/browser/profiles/profile_avatar_downloader.h
@@ -9,13 +9,13 @@
#include "base/files/file_path.h"
#include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h"
-class ProfileInfoCache;
+class ProfileAttributesStorage;
class ProfileAvatarDownloader : public chrome::BitmapFetcherDelegate {
public:
ProfileAvatarDownloader(size_t icon_index,
const base::FilePath& profile_path,
- ProfileInfoCache* cache);
+ ProfileAttributesStorage* storage);
~ProfileAvatarDownloader() override;
void Start();
@@ -33,7 +33,7 @@ class ProfileAvatarDownloader : public chrome::BitmapFetcherDelegate {
// Path of the profile for which the avatar is being downloaded.
base::FilePath profile_path_;
- ProfileInfoCache* cache_; // Weak.
+ ProfileAttributesStorage* storage_; // Not owned.
};
#endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_

Powered by Google App Engine
This is Rietveld 408576698