blob: 1d4aa00c5465da2fe4438c0ec8ea54cf2c5c8958 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/observer_list_types.h"
namespace federated {
// An interface class for observing events from the session manager.
// A derived class of this class should override the event methods
// that it would like to observe.
class SessionManagerObserverInterface : public base::CheckedObserver {
virtual ~SessionManagerObserverInterface() = default;
// This method is called when a session has started.
virtual void OnSessionStarted() = 0;
// This method is called when a session has stopped.
virtual void OnSessionStopped() = 0;
} // namespace federated