1 // Copyright 2013 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 CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_OBSERVER_H_
11 class AutomaticRebootManagerObserver
{
14 REBOOT_REASON_UNKNOWN
,
15 REBOOT_REASON_OS_UPDATE
,
16 REBOOT_REASON_PERIODIC
,
19 // Invoked when a reboot is requested.
20 virtual void OnRebootRequested(Reason reason
) = 0;
22 // Invoked before the automatic reboot manager is destroyed.
23 virtual void WillDestroyAutomaticRebootManager() = 0;
26 virtual ~AutomaticRebootManagerObserver() {}
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_OBSERVER_H_