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

Unified Diff: chrome/common/pref_names.cc

Issue 14137032: Create profile .ico file on profile creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add profile icon creation on first run past this change Created 7 years, 8 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/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 58a075b8f682b742a13e2109583cca86f9236775..806d2a8df6fea62973e839aa8dcc80af46c930c2 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -81,6 +81,13 @@ const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup";
// higher.
const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated";
+#if defined(OS_WIN)
+// A boolean preference to keep track of whether we have tried to create an icon
+// file on first run past this version. This is done so that we can rely on old
+// profiles always having icons created in their profile directory.
+const char kProfileIconCreated[] = "profile.icon_created";
+#endif
+
// The application locale.
// For OS_CHROMEOS we maintain kApplicationLocale property in both local state
// and user's profile. Global property determines locale of login screen,
« chrome/browser/profiles/profile_shortcut_manager_win.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698