diff options
Diffstat (limited to 'chromeos/dbus/system_clock_client.h')
-rw-r--r-- | chromeos/dbus/system_clock_client.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/chromeos/dbus/system_clock_client.h b/chromeos/dbus/system_clock_client.h index 38158da..ece1e2d 100644 --- a/chromeos/dbus/system_clock_client.h +++ b/chromeos/dbus/system_clock_client.h @@ -7,16 +7,13 @@ #include "base/observer_list.h" #include "chromeos/chromeos_export.h" +#include "chromeos/dbus/dbus_client.h" #include "chromeos/dbus/dbus_client_implementation_type.h" -namespace dbus { -class Bus; -} // namespace - namespace chromeos { // SystemClockClient is used to communicate with the system clock. -class CHROMEOS_EXPORT SystemClockClient { +class CHROMEOS_EXPORT SystemClockClient : public DBusClient { public: // Interface for observing changes from the system clock. class Observer { @@ -36,8 +33,7 @@ class CHROMEOS_EXPORT SystemClockClient { virtual bool HasObserver(Observer* observer) = 0; // Creates the instance. - static SystemClockClient* Create(DBusClientImplementationType type, - dbus::Bus* bus); + static SystemClockClient* Create(DBusClientImplementationType type); protected: // Create() should be used instead. |