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

Side by Side 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: rework 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // The URLs to restore on startup or when the home button is pressed. The URLs 71 // The URLs to restore on startup or when the home button is pressed. The URLs
72 // are only restored on startup if kRestoreOnStartup is 4. 72 // are only restored on startup if kRestoreOnStartup is 4.
73 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup"; 73 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup";
74 74
75 // A preference to keep track of whether we have already checked whether we 75 // A preference to keep track of whether we have already checked whether we
76 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4. 76 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4.
77 // We only need to do this check once, on upgrade from m18 or lower to m19 or 77 // We only need to do this check once, on upgrade from m18 or lower to m19 or
78 // higher. 78 // higher.
79 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; 79 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated";
80 80
81 #if defined(OS_WIN)
82 // A boolean preference to keep track of whether we have tried to create an icon
83 // file on first run past this version. This is done so that we can rely on old
84 // profiles always having icons created in their profile directory.
85 const char kProfileIconVersion[] = "profile.icon_version";
86 #endif
87
81 // The application locale. 88 // The application locale.
82 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state 89 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
83 // and user's profile. Global property determines locale of login screen, 90 // and user's profile. Global property determines locale of login screen,
84 // while user's profile determines his personal locale preference. 91 // while user's profile determines his personal locale preference.
85 const char kApplicationLocale[] = "intl.app_locale"; 92 const char kApplicationLocale[] = "intl.app_locale";
86 #if defined(OS_CHROMEOS) 93 #if defined(OS_CHROMEOS)
87 // Locale preference of device' owner. ChromeOS device appears in this locale 94 // Locale preference of device' owner. ChromeOS device appears in this locale
88 // after startup/wakeup/signout. 95 // after startup/wakeup/signout.
89 const char kOwnerLocale[] = "intl.owner_locale"; 96 const char kOwnerLocale[] = "intl.owner_locale";
90 // Locale accepted by user. Non-syncable. 97 // Locale accepted by user. Non-syncable.
(...skipping 2387 matching lines...) Expand 10 before | Expand all | Expand 10 after
2478 // ping and the time of the last ping. 2485 // ping and the time of the last ping.
2479 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2486 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2480 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2487 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2481 2488
2482 // A string pref for storing the salt used to compute the pepper device ID. 2489 // A string pref for storing the salt used to compute the pepper device ID.
2483 const char kDRMSalt[] = "settings.privacy.drm_salt"; 2490 const char kDRMSalt[] = "settings.privacy.drm_salt";
2484 // A boolean pref that enables the (private) pepper GetDeviceID() call. 2491 // A boolean pref that enables the (private) pepper GetDeviceID() call.
2485 const char kEnableDRM[] = "settings.privacy.drm_enabled"; 2492 const char kEnableDRM[] = "settings.privacy.drm_enabled";
2486 2493
2487 } // namespace prefs 2494 } // namespace prefs
OLDNEW
« 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