ProfilePolicyConnectorFactory: Refactoring from Profile to BrowserContext.
[chromium-blink-merge.git] / ash / system / chromeos / session / session_length_limit_observer.h
blob54aba7fb9b4aaa565606ce4554098c558023fcd0
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"
10 namespace ash {
12 // Observer for the session length limit.
13 class ASH_EXPORT SessionLengthLimitObserver {
14 public:
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;
24 } // namespace ash
26 #endif // ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_OBSERVER_H_