| 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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 const char kSecondaryDisplayLayout[] = "settings.display.secondary_layout"; | 794 const char kSecondaryDisplayLayout[] = "settings.display.secondary_layout"; |
| 795 | 795 |
| 796 // An integer pref that specifies how far the secondary display is positioned | 796 // An integer pref that specifies how far the secondary display is positioned |
| 797 // from the edge of the primary display. | 797 // from the edge of the primary display. |
| 798 const char kSecondaryDisplayOffset[] = "settings.display.secondary_offset"; | 798 const char kSecondaryDisplayOffset[] = "settings.display.secondary_offset"; |
| 799 | 799 |
| 800 // A dictionary pref that specifies per-display layout/offset information. | 800 // A dictionary pref that specifies per-display layout/offset information. |
| 801 // Its key is the ID of the display and its value is a dictionary for the | 801 // Its key is the ID of the display and its value is a dictionary for the |
| 802 // layout/offset information. | 802 // layout/offset information. |
| 803 const char kSecondaryDisplays[] = "settings.display.secondary_displays"; | 803 const char kSecondaryDisplays[] = "settings.display.secondary_displays"; |
| 804 |
| 805 // A preference to keep track of the session start time. The value is set |
| 806 // after login. When the browser restarts after a crash, the pref value is not |
| 807 // changed unless it appears corrupted (value unset, value lying in the future, |
| 808 // zero value). |
| 809 const char kSessionStartTime[] = "session.start_time"; |
| 810 |
| 811 // Holds the maximum session time in milliseconds. If this pref is set, the |
| 812 // user is logged out when the maximum session time is reached. The user is |
| 813 // informed about the remaining time by a countdown timer shown in the ash |
| 814 // system tray. |
| 815 const char kSessionLengthLimit[] = "session.length_limit"; |
| 804 #endif // defined(OS_CHROMEOS) | 816 #endif // defined(OS_CHROMEOS) |
| 805 | 817 |
| 806 // The disabled messages in IPC logging. | 818 // The disabled messages in IPC logging. |
| 807 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; | 819 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; |
| 808 | 820 |
| 809 // A boolean pref set to true if a Home button to open the Home pages should be | 821 // A boolean pref set to true if a Home button to open the Home pages should be |
| 810 // visible on the toolbar. | 822 // visible on the toolbar. |
| 811 const char kShowHomeButton[] = "browser.show_home_button"; | 823 const char kShowHomeButton[] = "browser.show_home_button"; |
| 812 | 824 |
| 813 // A string value which saves short list of recently user selected encodings | 825 // A string value which saves short list of recently user selected encodings |
| (...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2175 // 64-bit serialization of the time last policy usage statistics were collected | 2187 // 64-bit serialization of the time last policy usage statistics were collected |
| 2176 // by UMA_HISTOGRAM_ENUMERATION. | 2188 // by UMA_HISTOGRAM_ENUMERATION. |
| 2177 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 2189 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
| 2178 | 2190 |
| 2179 #if defined(OS_CHROMEOS) | 2191 #if defined(OS_CHROMEOS) |
| 2180 // The RLZ brand code, if enabled. | 2192 // The RLZ brand code, if enabled. |
| 2181 const char kRLZBrand[] = "rlz.brand"; | 2193 const char kRLZBrand[] = "rlz.brand"; |
| 2182 #endif | 2194 #endif |
| 2183 | 2195 |
| 2184 } // namespace prefs | 2196 } // namespace prefs |
| OLD | NEW |