OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/prefs/pref_change_registrar.h" | |
14 #include "base/time/time.h" | 13 #include "base/time/time.h" |
15 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
16 #include "chrome/browser/chromeos/system/automatic_reboot_manager_observer.h" | 15 #include "chrome/browser/chromeos/system/automatic_reboot_manager_observer.h" |
17 #include "chromeos/dbus/power_manager_client.h" | 16 #include "chromeos/dbus/power_manager_client.h" |
18 #include "chromeos/dbus/update_engine_client.h" | 17 #include "chromeos/dbus/update_engine_client.h" |
| 18 #include "components/prefs/pref_change_registrar.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
21 #include "ui/base/user_activity/user_activity_observer.h" | 21 #include "ui/base/user_activity/user_activity_observer.h" |
22 | 22 |
23 class PrefRegistrySimple; | 23 class PrefRegistrySimple; |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 class TickClock; | 26 class TickClock; |
27 } | 27 } |
28 | 28 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 base::WeakPtrFactory<AutomaticRebootManager> weak_ptr_factory_; | 174 base::WeakPtrFactory<AutomaticRebootManager> weak_ptr_factory_; |
175 | 175 |
176 DISALLOW_COPY_AND_ASSIGN(AutomaticRebootManager); | 176 DISALLOW_COPY_AND_ASSIGN(AutomaticRebootManager); |
177 }; | 177 }; |
178 | 178 |
179 } // namespace system | 179 } // namespace system |
180 } // namespace chromeos | 180 } // namespace chromeos |
181 | 181 |
182 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_H_ | 182 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_H_ |
OLD | NEW |