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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 14137032: Create profile .ico file on profile creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move icon creation into profile_shortcut_manager Created 7 years, 6 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.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 9c3b711324c2c066dee4909998b4984c3ea08b02..37347af010f428d3407f2fc98528edb50f65d94c 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -104,6 +104,10 @@ void Profile::RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
prefs::kDefaultApps,
"install",
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterIntegerPref(
+ prefs::kProfileIconVersion,
+ 0,
gab 2013/06/18 15:36:58 Why is this an integer? As it is right now it is u
Alexei Svitkine (slow) 2013/06/18 15:44:32 See previous discussion. Having it an integer is m
gab 2013/06/18 15:51:38 Right, makes sense, I think it's pretty easy to ad
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
#if defined(OS_CHROMEOS)
// TODO(dilmah): For OS_CHROMEOS we maintain kApplicationLocale in both
// local state and user's profile. For other platforms we maintain

Powered by Google App Engine
This is Rietveld 408576698