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 CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_
6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_
10 class DBusThreadManager
;
12 // Interface for classes that are interested in observing changes to the
14 class DBusThreadManagerObserver
{
16 // Called when |manager| is about to be destroyed. |manager| is still usable
18 virtual void OnDBusThreadManagerDestroying(DBusThreadManager
* manager
) = 0;
21 virtual ~DBusThreadManagerObserver() {}
24 } // namespace chromeos
26 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_