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

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: Fix a bug that causes unit tests without debug code to fail. Created 4 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/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 9bd93d696056b73a19dee151b2bcbd9482ce0450..b6c57eccefcef2b2e13b601702fe6b73040eb6fb 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_win.h
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.h
@@ -9,6 +9,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"
@@ -60,7 +61,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
@@ -91,7 +92,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