Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / ash / system / session_length_limit / session_length_limit_observer.h
blob2a4f52752678a5d9a4fe0767e45ff50bc5c2dd3a
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.
5 #ifndef ASH_SYSTEM_SESSION_LENGTH_LIMIT_SESSION_LENGTH_LIMIT_OBSERVER_H_
6 #define ASH_SYSTEM_SESSION_LENGTH_LIMIT_SESSION_LENGTH_LIMIT_OBSERVER_H_
8 namespace ash {
10 // Observer for the session length limit.
11 class SessionLengthLimitObserver {
12 public:
13 virtual ~SessionLengthLimitObserver() {}
15 // Called when the session start time is updated.
16 virtual void OnSessionStartTimeChanged() = 0;
18 // Called when the session length limit is updated.
19 virtual void OnSessionLengthLimitChanged() = 0;
22 } // namespace ash
24 #endif // ASH_SYSTEM_SESSION_LENGTH_LIMIT_SESSION_LENGTH_LIMIT_OBSERVER_H_