| Index: chrome/browser/chromeos/system/automatic_reboot_manager.h
|
| diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager.h b/chrome/browser/chromeos/system/automatic_reboot_manager.h
|
| index 5ecf8d6bada4a2f87c0901fec014ce1a3f843a7d..638c9ace6e306fc0a0b25fd80e783fcadcb753ff 100644
|
| --- a/chrome/browser/chromeos/system/automatic_reboot_manager.h
|
| +++ b/chrome/browser/chromeos/system/automatic_reboot_manager.h
|
| @@ -13,7 +13,6 @@
|
| #include "base/prefs/pref_change_registrar.h"
|
| #include "base/time/time.h"
|
| #include "base/timer/timer.h"
|
| -#include "chrome/browser/chromeos/system/automatic_reboot_manager_observer.h"
|
| #include "chromeos/dbus/power_manager_client.h"
|
| #include "chromeos/dbus/update_engine_client.h"
|
| #include "content/public/browser/notification_observer.h"
|
| @@ -28,6 +27,8 @@
|
|
|
| namespace chromeos {
|
| namespace system {
|
| +
|
| +class AutomaticRebootManagerObserver;
|
|
|
| // Schedules and executes automatic reboots.
|
| //
|
| @@ -91,11 +92,6 @@
|
|
|
| explicit AutomaticRebootManager(scoped_ptr<base::TickClock> clock);
|
| virtual ~AutomaticRebootManager();
|
| -
|
| - AutomaticRebootManagerObserver::Reason reboot_reason() const {
|
| - return reboot_reason_;
|
| - }
|
| - bool reboot_requested() const { return reboot_requested_; }
|
|
|
| void AddObserver(AutomaticRebootManagerObserver* observer);
|
| void RemoveObserver(AutomaticRebootManagerObserver* observer);
|
| @@ -161,9 +157,6 @@
|
| bool have_update_reboot_needed_time_;
|
| base::TimeTicks update_reboot_needed_time_;
|
|
|
| - // The reason for the reboot request. Updated whenever a reboot is scheduled.
|
| - AutomaticRebootManagerObserver::Reason reboot_reason_;
|
| -
|
| // Whether a reboot has been requested.
|
| bool reboot_requested_;
|
|
|
|
|