summaryrefslogtreecommitdiffstats
path: root/chromium/ash/system/session_length_limit/session_length_limit_observer.h
blob: 3fcba64d7e1e2934dde2db5d24cbc86e0a86837b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_SYSTEM_SESSION_LENGTH_LIMIT_SESSION_LENGTH_LIMIT_OBSERVER_H_
#define ASH_SYSTEM_SESSION_LENGTH_LIMIT_SESSION_LENGTH_LIMIT_OBSERVER_H_

#include "ash/ash_export.h"

namespace ash {

// Observer for the session length limit.
class ASH_EXPORT SessionLengthLimitObserver {
 public:
  virtual ~SessionLengthLimitObserver() {}

  // Called when the session start time is updated.
  virtual void OnSessionStartTimeChanged() = 0;

  // Called when the session length limit is updated.
  virtual void OnSessionLengthLimitChanged() = 0;
};

}  // namespace ash

#endif  // ASH_SYSTEM_SESSION_LENGTH_LIMIT_SESSION_LENGTH_LIMIT_OBSERVER_H_