| Index: chrome/browser/profiles/profile_shortcut_manager.h
|
| ===================================================================
|
| --- chrome/browser/profiles/profile_shortcut_manager.h (revision 152316)
|
| +++ chrome/browser/profiles/profile_shortcut_manager.h (working copy)
|
| @@ -6,9 +6,10 @@
|
| #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_
|
|
|
| #include "base/file_path.h"
|
| +#include "chrome/browser/profiles/profile_info_cache_observer.h"
|
| #include "ui/gfx/image/image.h"
|
|
|
| -class ProfileShortcutManager {
|
| +class ProfileShortcutManager : public ProfileInfoCacheObserver {
|
| public:
|
| virtual ~ProfileShortcutManager();
|
|
|
| @@ -18,7 +19,18 @@
|
| virtual void CreateChromeDesktopShortcut(
|
| const FilePath& profile_path, const string16& profile_name,
|
| const gfx::Image& avatar_image) = 0;
|
| - virtual void DeleteChromeDesktopShortcut(const FilePath& profile_path) = 0;
|
| + virtual void DeleteChromeDesktopShortcut(const FilePath& profile_path,
|
| + const string16& profile_name) = 0;
|
| + virtual void OnProfileAdded(const FilePath& profile_path) OVERRIDE = 0;
|
| + virtual void OnProfileWillBeRemoved(const FilePath& profile_path) OVERRIDE
|
| + = 0;
|
| + virtual void OnProfileWasRemoved(const FilePath& profile_path,
|
| + const string16& profile_name) OVERRIDE = 0;
|
| + virtual void OnProfileNameChanged(const FilePath& profile_path,
|
| + const string16& old_profile_name) OVERRIDE
|
| + = 0;
|
| + virtual void OnProfileAvatarChanged(const FilePath& profile_path) OVERRIDE
|
| + = 0;
|
|
|
| protected:
|
| ProfileShortcutManager();
|
|
|