1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_OBSERVER_H_
6 #define ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_OBSERVER_H_
8 #include "ash/ash_export.h"
12 // Observer for the session length limit.
13 class ASH_EXPORT SessionLengthLimitObserver
{
15 virtual ~SessionLengthLimitObserver() {}
17 // Called when the session start time is updated.
18 virtual void OnSessionStartTimeChanged() = 0;
20 // Called when the session length limit is updated.
21 virtual void OnSessionLengthLimitChanged() = 0;
26 #endif // ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_OBSERVER_H_