Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: chrome/common/pref_names.cc

Issue 2692163003: cros: Add enterprise user session metrics (Closed)
Patch Set: update sparse histogram comment Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 // user is logged out when the maximum session time is reached. The user is 724 // user is logged out when the maximum session time is reached. The user is
725 // informed about the remaining time by a countdown timer shown in the ash 725 // informed about the remaining time by a countdown timer shown in the ash
726 // system tray. 726 // system tray.
727 const char kSessionLengthLimit[] = "session.length_limit"; 727 const char kSessionLengthLimit[] = "session.length_limit";
728 728
729 // Whether the session length limit should start running only after the first 729 // Whether the session length limit should start running only after the first
730 // user activity has been observed in a session. 730 // user activity has been observed in a session.
731 const char kSessionWaitForInitialUserActivity[] = 731 const char kSessionWaitForInitialUserActivity[] =
732 "session.wait_for_initial_user_activity"; 732 "session.wait_for_initial_user_activity";
733 733
734 // A preference of the last user session type. It is used with the
735 // kLastSessionLength pref below to store the last user session info
736 // on shutdown so that it could be reported on the next run.
737 const char kLastSessionType[] = "session.last_session_type";
738
739 // A preference of the last user session length.
740 const char kLastSessionLength[] = "session.last_session_length";
741
734 // Inactivity time in milliseconds while the system is on AC power before 742 // Inactivity time in milliseconds while the system is on AC power before
735 // the screen should be dimmed, turned off, or locked, before an 743 // the screen should be dimmed, turned off, or locked, before an
736 // IdleActionImminent D-Bus signal should be sent, or before 744 // IdleActionImminent D-Bus signal should be sent, or before
737 // kPowerAcIdleAction should be performed. 0 disables the delay (N/A for 745 // kPowerAcIdleAction should be performed. 0 disables the delay (N/A for
738 // kPowerAcIdleDelayMs). 746 // kPowerAcIdleDelayMs).
739 const char kPowerAcScreenDimDelayMs[] = "power.ac_screen_dim_delay_ms"; 747 const char kPowerAcScreenDimDelayMs[] = "power.ac_screen_dim_delay_ms";
740 const char kPowerAcScreenOffDelayMs[] = "power.ac_screen_off_delay_ms"; 748 const char kPowerAcScreenOffDelayMs[] = "power.ac_screen_off_delay_ms";
741 const char kPowerAcScreenLockDelayMs[] = "power.ac_screen_lock_delay_ms"; 749 const char kPowerAcScreenLockDelayMs[] = "power.ac_screen_lock_delay_ms";
742 const char kPowerAcIdleWarningDelayMs[] = "power.ac_idle_warning_delay_ms"; 750 const char kPowerAcIdleWarningDelayMs[] = "power.ac_idle_warning_delay_ms";
743 const char kPowerAcIdleDelayMs[] = "power.ac_idle_delay_ms"; 751 const char kPowerAcIdleDelayMs[] = "power.ac_idle_delay_ms";
(...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 2448
2441 // Number of times user has seen the "desktop to iOS" history page promotion. 2449 // Number of times user has seen the "desktop to iOS" history page promotion.
2442 const char kNumberHistoryPageIOSPromoShown[] = 2450 const char kNumberHistoryPageIOSPromoShown[] =
2443 "history_page_ios_promo_shown_count"; 2451 "history_page_ios_promo_shown_count";
2444 2452
2445 // True if the user has dismissed the "desktop to iOS" history page promotion. 2453 // True if the user has dismissed the "desktop to iOS" history page promotion.
2446 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; 2454 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed";
2447 #endif 2455 #endif
2448 2456
2449 } // namespace prefs 2457 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698