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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const char kRestoreOnStartup[] = "session.restore_on_startup"; | 75 const char kRestoreOnStartup[] = "session.restore_on_startup"; |
76 | 76 |
77 // A preference to keep track of whether we have already checked whether we | 77 // A preference to keep track of whether we have already checked whether we |
78 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4. | 78 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4. |
79 // We only need to do this check once, on upgrade from m18 or lower to m19 or | 79 // We only need to do this check once, on upgrade from m18 or lower to m19 or |
80 // higher. | 80 // higher. |
81 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; | 81 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; |
82 | 82 |
83 // The URLs to restore on startup or when the home button is pressed. The URLs | 83 // The URLs to restore on startup or when the home button is pressed. The URLs |
84 // are only restored on startup if kRestoreOnStartup is 4. | 84 // are only restored on startup if kRestoreOnStartup is 4. |
85 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup"; | 85 const char kURLsToRestoreOnStartup[] = "session.startup_urls"; |
| 86 |
| 87 // Old startup url pref name for kURLsToRestoreOnStartup. |
| 88 const char kURLsToRestoreOnStartupOld[] = "session.urls_to_restore_on_startup"; |
| 89 |
| 90 // Serialized migration time of kURLsToRestoreOnStartup (see |
| 91 // base::Time::ToInternalValue for details on serialization format). |
| 92 const char kRestoreStartupURLsMigrationTime[] = |
| 93 "session.startup_urls_migration_time"; |
86 | 94 |
87 // If set to true profiles are created in ephemeral mode and do not store their | 95 // If set to true profiles are created in ephemeral mode and do not store their |
88 // data in the profile folder on disk but only in memory. | 96 // data in the profile folder on disk but only in memory. |
89 const char kForceEphemeralProfiles[] = "profile.ephemeral_mode"; | 97 const char kForceEphemeralProfiles[] = "profile.ephemeral_mode"; |
90 | 98 |
91 // The application locale. | 99 // The application locale. |
92 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 100 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
93 // and user's profile. Global property determines locale of login screen, | 101 // and user's profile. Global property determines locale of login screen, |
94 // while user's profile determines his personal locale preference. | 102 // while user's profile determines his personal locale preference. |
95 const char kApplicationLocale[] = "intl.app_locale"; | 103 const char kApplicationLocale[] = "intl.app_locale"; |
(...skipping 2477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2573 // A dictionary pref which maps profile names to dictionary values which hold | 2581 // A dictionary pref which maps profile names to dictionary values which hold |
2574 // hashes of profile prefs that we track to detect changes that happen outside | 2582 // hashes of profile prefs that we track to detect changes that happen outside |
2575 // of Chrome. | 2583 // of Chrome. |
2576 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; | 2584 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; |
2577 | 2585 |
2578 // Stores a pair of local time and corresponding network time to bootstrap | 2586 // Stores a pair of local time and corresponding network time to bootstrap |
2579 // network time tracker when browser starts. | 2587 // network time tracker when browser starts. |
2580 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; | 2588 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; |
2581 | 2589 |
2582 } // namespace prefs | 2590 } // namespace prefs |
OLD | NEW |