| Index: chromeos/dbus/dbus_thread_manager.h
|
| diff --git a/chromeos/dbus/dbus_thread_manager.h b/chromeos/dbus/dbus_thread_manager.h
|
| index 648be053149039e0050ab9875228a38c13f5b3ae..755ec946a2feb5bf460a9801eba2f2e064eb55a1 100644
|
| --- a/chromeos/dbus/dbus_thread_manager.h
|
| +++ b/chromeos/dbus/dbus_thread_manager.h
|
| @@ -6,6 +6,8 @@
|
| #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
|
| #pragma once
|
|
|
| +#include <string>
|
| +
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "chromeos/chromeos_export.h"
|
| @@ -81,9 +83,17 @@ class CHROMEOS_EXPORT DBusThreadManager {
|
| // Gets the global instance. Initialize() must be called first.
|
| static DBusThreadManager* Get();
|
|
|
| + // Releases old IBusBus instance and creates new IBusBus instance and connects
|
| + // to ibus-daemon with specified ibus address. If the specified address is
|
| + // same as before, this function doesn't do anything.
|
| + virtual void MaybeResetIBusBus(const std::string &ibus_address) = 0;
|
| +
|
| // Returns the D-Bus system bus instance, owned by DBusThreadManager.
|
| virtual dbus::Bus* GetSystemBus() = 0;
|
|
|
| + // Returns the IBus bus instance, owned by DBusThreadManager.
|
| + virtual dbus::Bus* GetIBusBus() = 0;
|
| +
|
| // Returns the bluetooth adapter client, owned by DBusThreadManager.
|
| // Do not cache this pointer and use it after DBusThreadManager is shut
|
| // down.
|
|
|