Chromium Code Reviews| 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,6 +6,7 @@ |
| #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_ |
| #include "base/file_path.h" |
| +#include "chrome/browser/profiles/profile_info_cache.h" |
| #include "ui/gfx/image/image.h" |
| class ProfileShortcutManager { |
| @@ -13,12 +14,14 @@ |
| virtual ~ProfileShortcutManager(); |
| static bool IsFeatureEnabled(); |
| - static ProfileShortcutManager* Create(); |
| + static ProfileShortcutManager* Create(ProfileInfoCache& cache); |
| + // Must be called on UI thread. |
|
sail
2012/08/23 18:46:44
Probably don't need this comment
Halli
2012/08/24 02:56:49
Done.
|
| 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; |
| protected: |
| ProfileShortcutManager(); |