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

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

Issue 14137032: Create profile .ico file on profile creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rework Created 7 years, 7 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
diff --git a/chrome/browser/profiles/profile_shortcut_manager.h b/chrome/browser/profiles/profile_shortcut_manager.h
index e947b62b9a0fede166456c9e5bf29894139a72f0..371aa1f76279d396c5f596c44289713be4f613e7 100644
--- a/chrome/browser/profiles/profile_shortcut_manager.h
+++ b/chrome/browser/profiles/profile_shortcut_manager.h
@@ -16,6 +16,10 @@ class ProfileShortcutManager {
public:
virtual ~ProfileShortcutManager();
+ // Create a profile icon for the profile with path |profile_path|. This
+ // triggers a SHChangeNotify(SHCNE_CREATE) which will not update old icons.
Alexei Svitkine (slow) 2013/05/31 13:48:38 Don't mention a Windows-specific behaviour in the
calamity 2013/06/04 01:24:57 Done.
+ virtual void CreateProfileIcon(const base::FilePath& profile_path) = 0;
+
// Create a profile shortcut for the profile with path |profile_path|, plus
// update the original profile shortcut if |profile_path| is the second
// profile created.

Powered by Google App Engine
This is Rietveld 408576698