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

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, set pref through callback 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..dd06d8e168c2f74253f06f5abe3919535a37fa14 100644
--- a/chrome/browser/profiles/profile_shortcut_manager.h
+++ b/chrome/browser/profiles/profile_shortcut_manager.h
@@ -16,6 +16,12 @@ class ProfileShortcutManager {
public:
virtual ~ProfileShortcutManager();
+ // Create a profile icon for the profile with path |profile_path|. This will
+ // not overwrite an already existing profile icon.
Alexei Svitkine (slow) 2013/06/05 14:06:03 Please document |callback| - i.e. that it's only c
calamity 2013/06/07 04:26:26 Done.
+ virtual void CreateProfileIcon(
+ const base::FilePath& profile_path,
+ const base::Closure& callback) = 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