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

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

Issue 10837352: Update profile desktop shortcuts (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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.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,13 @@
virtual ~ProfileShortcutManager();
static bool IsFeatureEnabled();
- static ProfileShortcutManager* Create();
+ static ProfileShortcutManager* Create(ProfileInfoCache& cache);
- virtual void CreateChromeDesktopShortcut(
+ virtual void StartProfileDesktopShortcutCreation(
const FilePath& profile_path, const string16& profile_name,
const gfx::Image& avatar_image) = 0;
- virtual void DeleteChromeDesktopShortcut(const FilePath& profile_path) = 0;
+ virtual void DeleteProfileDesktopShortcut(const FilePath& profile_path,
+ const string16& profile_name) = 0;
protected:
ProfileShortcutManager();

Powered by Google App Engine
This is Rietveld 408576698