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

Unified Diff: chrome/browser/profiles/profile_shortcut_manager_win.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_shortcut_manager_win.h
diff --git a/chrome/browser/profiles/profile_shortcut_manager_win.h b/chrome/browser/profiles/profile_shortcut_manager_win.h
index a7ed6103900be89d26b0798eccfe59ff0c8fdc33..2d4d3a408c9554bdb1d98bd6201687fda20114ed 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_win.h
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.h
@@ -7,6 +7,7 @@
#include "base/callback.h"
#include "base/macros.h"
+#include "chrome/browser/profiles/profile_attributes_storage.h"
#include "chrome/browser/profiles/profile_shortcut_manager.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -33,7 +34,7 @@ base::string16 CreateProfileShortcutFlags(const base::FilePath& profile_path);
} // namespace profiles
class ProfileShortcutManagerWin : public ProfileShortcutManager,
- public ProfileInfoCacheObserver,
+ public ProfileAttributesStorage::Observer,
public content::NotificationObserver {
public:
// Specifies whether only the existing shortcut should be updated, a new
@@ -64,7 +65,7 @@ class ProfileShortcutManagerWin : public ProfileShortcutManager,
base::string16* name,
base::FilePath* icon_path) override;
- // ProfileInfoCacheObserver implementation:
+ // ProfileAttributesStorage::Observer implementation:
void OnProfileAdded(const base::FilePath& profile_path) override;
void OnProfileWasRemoved(const base::FilePath& profile_path,
const base::string16& profile_name) override;

Powered by Google App Engine
This is Rietveld 408576698