blob: 77ce14f849f1282cc6e2edb5c41e98ae87a7ab6c (
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 CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_
#define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_
namespace chromeos {
class DBusThreadManager;
// Interface for classes that are interested in observing changes to the
// DBusThreadManager.
class DBusThreadManagerObserver {
public:
// Called when |manager| is about to be destroyed. |manager| is still usable
// at this point.
virtual void OnDBusThreadManagerDestroying(DBusThreadManager* manager) = 0;
protected:
virtual ~DBusThreadManagerObserver() {}
};
} // namespace chromeos
#endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_
|