Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 74 // The URLs to restore on startup or when the home button is pressed. The URLs | 74 // The URLs to restore on startup or when the home button is pressed. The URLs |
| 75 // are only restored on startup if kRestoreOnStartup is 4. | 75 // are only restored on startup if kRestoreOnStartup is 4. |
| 76 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup"; | 76 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup"; |
| 77 | 77 |
| 78 // A preference to keep track of whether we have already checked whether we | 78 // A preference to keep track of whether we have already checked whether we |
| 79 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4. | 79 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4. |
| 80 // We only need to do this check once, on upgrade from m18 or lower to m19 or | 80 // We only need to do this check once, on upgrade from m18 or lower to m19 or |
| 81 // higher. | 81 // higher. |
| 82 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; | 82 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; |
| 83 | 83 |
| 84 #if defined(OS_WIN) | |
| 85 // A boolean preference to keep track of whether we have tried to create an icon | |
| 86 // file on first run past this version. This is done so that we can rely on old | |
| 87 // profiles always having icons created in their profile directory. | |
| 88 const char kProfileIconCreated[] = "profile.icon_created"; | |
|
Alexei Svitkine (slow)
2013/05/24 14:43:51
To be more future-proof, how about changing this t
calamity
2013/05/31 04:07:27
Done.
| |
| 89 #endif | |
| 90 | |
| 84 // The application locale. | 91 // The application locale. |
| 85 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 92 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
| 86 // and user's profile. Global property determines locale of login screen, | 93 // and user's profile. Global property determines locale of login screen, |
| 87 // while user's profile determines his personal locale preference. | 94 // while user's profile determines his personal locale preference. |
| 88 const char kApplicationLocale[] = "intl.app_locale"; | 95 const char kApplicationLocale[] = "intl.app_locale"; |
| 89 #if defined(OS_CHROMEOS) | 96 #if defined(OS_CHROMEOS) |
| 90 // Locale preference of device' owner. ChromeOS device appears in this locale | 97 // Locale preference of device' owner. ChromeOS device appears in this locale |
| 91 // after startup/wakeup/signout. | 98 // after startup/wakeup/signout. |
| 92 const char kOwnerLocale[] = "intl.owner_locale"; | 99 const char kOwnerLocale[] = "intl.owner_locale"; |
| 93 // Locale accepted by user. Non-syncable. | 100 // Locale accepted by user. Non-syncable. |
| (...skipping 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2456 // ping and the time of the last ping. | 2463 // ping and the time of the last ping. |
| 2457 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; | 2464 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; |
| 2458 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; | 2465 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; |
| 2459 | 2466 |
| 2460 // A string pref for storing the salt used to compute the pepper device ID. | 2467 // A string pref for storing the salt used to compute the pepper device ID. |
| 2461 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2468 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
| 2462 // A boolean pref that enables the (private) pepper GetDeviceID() call. | 2469 // A boolean pref that enables the (private) pepper GetDeviceID() call. |
| 2463 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2470 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
| 2464 | 2471 |
| 2465 } // namespace prefs | 2472 } // namespace prefs |
| OLD | NEW |