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

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

Issue 1242793005: Refactor most c/b/profiles calls to ProfileInfoCache. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows unit test and ChromeOS build Created 5 years, 5 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 43b357862a90b9ba036adea5d5c251dd83262fe5..0fa7bd68a977cfb1823a56d97e4cf70a3e926bfa 100644
--- a/chrome/browser/profiles/profile_avatar_downloader.h
+++ b/chrome/browser/profiles/profile_avatar_downloader.h
@@ -7,13 +7,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();
@@ -31,7 +31,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_; // Weak.
};
#endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_

Powered by Google App Engine
This is Rietveld 408576698