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. 4 5#ifndef ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_OBSERVER_H_ 6#define ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_OBSERVER_H_ 7 8#include "ash/ash_export.h" 9 10namespace ash { 11 12// Observer for the session length limit. 13class ASH_EXPORT SessionLengthLimitObserver { 14 public: 15 virtual ~SessionLengthLimitObserver() {} 16 17 // Called when the session start time is updated. 18 virtual void OnSessionStartTimeChanged() = 0; 19 20 // Called when the session length limit is updated. 21 virtual void OnSessionLengthLimitChanged() = 0; 22}; 23 24} // namespace ash 25 26#endif // ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_OBSERVER_H_ 27