| Index: ash/system/session_length_limit/tray_session_length_limit.h
|
| diff --git a/ash/system/session_length_limit/tray_session_length_limit.h b/ash/system/session_length_limit/tray_session_length_limit.h
|
| index 94ce1371bac5f0fd3999e91b7de2bdc223886be8..6fcd76ef45a9720fab291d5b45b64a73f1d5e33b 100644
|
| --- a/ash/system/session_length_limit/tray_session_length_limit.h
|
| +++ b/ash/system/session_length_limit/tray_session_length_limit.h
|
| @@ -14,6 +14,11 @@
|
| #include "base/timer/timer.h"
|
|
|
| namespace ash {
|
| +
|
| +namespace test {
|
| +class TraySessionLengthLimitTest;
|
| +}
|
| +
|
| namespace internal {
|
|
|
| namespace tray {
|
| @@ -21,8 +26,8 @@ class RemainingSessionTimeTrayView;
|
| }
|
|
|
| // Adds a countdown timer to the system tray if the session length is limited.
|
| -class TraySessionLengthLimit : public SystemTrayItem,
|
| - public SessionLengthLimitObserver {
|
| +class ASH_EXPORT TraySessionLengthLimit : public SystemTrayItem,
|
| + public SessionLengthLimitObserver {
|
| public:
|
| enum LimitState {
|
| LIMIT_NONE,
|
| @@ -47,8 +52,14 @@ class TraySessionLengthLimit : public SystemTrayItem,
|
| base::TimeDelta GetRemainingSessionTime() const;
|
|
|
| private:
|
| + friend class test::TraySessionLengthLimitTest;
|
| +
|
| + static const char kNotificationId[];
|
| +
|
| void Update();
|
|
|
| + bool IsTrayViewVisibleForTest();
|
| +
|
| tray::RemainingSessionTimeTrayView* tray_view_;
|
|
|
| LimitState limit_state_;
|
|
|