| 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/macros.h" | 7 #include "base/macros.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
| 10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 // user is logged out when the maximum session time is reached. The user is | 720 // user is logged out when the maximum session time is reached. The user is |
| 721 // informed about the remaining time by a countdown timer shown in the ash | 721 // informed about the remaining time by a countdown timer shown in the ash |
| 722 // system tray. | 722 // system tray. |
| 723 const char kSessionLengthLimit[] = "session.length_limit"; | 723 const char kSessionLengthLimit[] = "session.length_limit"; |
| 724 | 724 |
| 725 // Whether the session length limit should start running only after the first | 725 // Whether the session length limit should start running only after the first |
| 726 // user activity has been observed in a session. | 726 // user activity has been observed in a session. |
| 727 const char kSessionWaitForInitialUserActivity[] = | 727 const char kSessionWaitForInitialUserActivity[] = |
| 728 "session.wait_for_initial_user_activity"; | 728 "session.wait_for_initial_user_activity"; |
| 729 | 729 |
| 730 // A preference of the last user session type. It is used with the |
| 731 // kLastSessionLength pref below to store the last user session info |
| 732 // on shutdown so that it could be reported on the next run. |
| 733 const char kLastSessionType[] = "session.last_session_type"; |
| 734 |
| 735 // A preference of the last user session length. |
| 736 const char kLastSessionLength[] = "session.last_session_length"; |
| 737 |
| 730 // Inactivity time in milliseconds while the system is on AC power before | 738 // Inactivity time in milliseconds while the system is on AC power before |
| 731 // the screen should be dimmed, turned off, or locked, before an | 739 // the screen should be dimmed, turned off, or locked, before an |
| 732 // IdleActionImminent D-Bus signal should be sent, or before | 740 // IdleActionImminent D-Bus signal should be sent, or before |
| 733 // kPowerAcIdleAction should be performed. 0 disables the delay (N/A for | 741 // kPowerAcIdleAction should be performed. 0 disables the delay (N/A for |
| 734 // kPowerAcIdleDelayMs). | 742 // kPowerAcIdleDelayMs). |
| 735 const char kPowerAcScreenDimDelayMs[] = "power.ac_screen_dim_delay_ms"; | 743 const char kPowerAcScreenDimDelayMs[] = "power.ac_screen_dim_delay_ms"; |
| 736 const char kPowerAcScreenOffDelayMs[] = "power.ac_screen_off_delay_ms"; | 744 const char kPowerAcScreenOffDelayMs[] = "power.ac_screen_off_delay_ms"; |
| 737 const char kPowerAcScreenLockDelayMs[] = "power.ac_screen_lock_delay_ms"; | 745 const char kPowerAcScreenLockDelayMs[] = "power.ac_screen_lock_delay_ms"; |
| 738 const char kPowerAcIdleWarningDelayMs[] = "power.ac_idle_warning_delay_ms"; | 746 const char kPowerAcIdleWarningDelayMs[] = "power.ac_idle_warning_delay_ms"; |
| 739 const char kPowerAcIdleDelayMs[] = "power.ac_idle_delay_ms"; | 747 const char kPowerAcIdleDelayMs[] = "power.ac_idle_delay_ms"; |
| (...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2436 | 2444 |
| 2437 // Number of times user has seen the "desktop to iOS" history page promotion. | 2445 // Number of times user has seen the "desktop to iOS" history page promotion. |
| 2438 const char kNumberHistoryPageIOSPromoShown[] = | 2446 const char kNumberHistoryPageIOSPromoShown[] = |
| 2439 "history_page_ios_promo_shown_count"; | 2447 "history_page_ios_promo_shown_count"; |
| 2440 | 2448 |
| 2441 // True if the user has dismissed the "desktop to iOS" history page promotion. | 2449 // True if the user has dismissed the "desktop to iOS" history page promotion. |
| 2442 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; | 2450 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; |
| 2443 #endif | 2451 #endif |
| 2444 | 2452 |
| 2445 } // namespace prefs | 2453 } // namespace prefs |
| OLD | NEW |