Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / system / automatic_reboot_manager_observer.h
blob0a750bc994c97c2a35e604db19ee58a4e7a17f83
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_
8 namespace chromeos {
9 namespace system {
11 class AutomaticRebootManagerObserver {
12 public:
13 enum Reason {
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;
25 protected:
26 virtual ~AutomaticRebootManagerObserver() {}
29 } // namespace system
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_OBSERVER_H_