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 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4. | 56 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4. |
57 // We only need to do this check once, on upgrade from m18 or lower to m19 or | 57 // We only need to do this check once, on upgrade from m18 or lower to m19 or |
58 // higher. | 58 // higher. |
59 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; | 59 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; |
60 | 60 |
61 // Disables screenshot accelerators and extension APIs. | 61 // Disables screenshot accelerators and extension APIs. |
62 // This setting resides both in profile prefs and local state. Accelerator | 62 // This setting resides both in profile prefs and local state. Accelerator |
63 // handling code reads local state, while extension APIs use profile pref. | 63 // handling code reads local state, while extension APIs use profile pref. |
64 const char kDisableScreenshots[] = "disable_screenshots"; | 64 const char kDisableScreenshots[] = "disable_screenshots"; |
65 | 65 |
| 66 // Apps that were running when the browser was last shut down. |
| 67 const char kAppsRunningAtShutdown[] = "apps_running_at_shutdown"; |
| 68 |
66 // The application locale. | 69 // The application locale. |
67 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 70 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
68 // and user's profile. Global property determines locale of login screen, | 71 // and user's profile. Global property determines locale of login screen, |
69 // while user's profile determines his personal locale preference. | 72 // while user's profile determines his personal locale preference. |
70 const char kApplicationLocale[] = "intl.app_locale"; | 73 const char kApplicationLocale[] = "intl.app_locale"; |
71 #if defined(OS_CHROMEOS) | 74 #if defined(OS_CHROMEOS) |
72 // Locale preference of device' owner. ChromeOS device appears in this locale | 75 // Locale preference of device' owner. ChromeOS device appears in this locale |
73 // after startup/wakeup/signout. | 76 // after startup/wakeup/signout. |
74 const char kOwnerLocale[] = "intl.owner_locale"; | 77 const char kOwnerLocale[] = "intl.owner_locale"; |
75 // Locale accepted by user. Non-syncable. | 78 // Locale accepted by user. Non-syncable. |
(...skipping 1922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1998 | 2001 |
1999 // Counts how many more times the 'profile on a network share' warning should be | 2002 // Counts how many more times the 'profile on a network share' warning should be |
2000 // shown to the user before the next silence period. | 2003 // shown to the user before the next silence period. |
2001 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 2004 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
2002 // Tracks the time of the last shown warning. Used to reset | 2005 // Tracks the time of the last shown warning. Used to reset |
2003 // |network_profile.warnings_left| after a silence period. | 2006 // |network_profile.warnings_left| after a silence period. |
2004 const char kNetworkProfileLastWarningTime[] = | 2007 const char kNetworkProfileLastWarningTime[] = |
2005 "network_profile.last_warning_time"; | 2008 "network_profile.last_warning_time"; |
2006 | 2009 |
2007 } // namespace prefs | 2010 } // namespace prefs |
OLD | NEW |