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