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

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

Issue 1913373002: Revert "Refactor ProfileInfoCache in most of c/b/profiles" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 b6c57eccefcef2b2e13b601702fe6b73040eb6fb..9bd93d696056b73a19dee151b2bcbd9482ce0450 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_win.h
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.h
@@ -9,7 +9,6 @@
#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"
@@ -61,7 +60,7 @@ base::string16 CreateProfileShortcutFlags(const base::FilePath& profile_path);
} // namespace profiles
class ProfileShortcutManagerWin : public ProfileShortcutManager,
- public ProfileAttributesStorage::Observer,
+ public ProfileInfoCacheObserver,
public content::NotificationObserver {
public:
// Specifies whether only the existing shortcut should be updated, a new
@@ -92,7 +91,7 @@ class ProfileShortcutManagerWin : public ProfileShortcutManager,
base::string16* name,
base::FilePath* icon_path) override;
- // ProfileAttributesStorage::Observer implementation:
+ // ProfileInfoCacheObserver 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