| 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 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" | 5 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" |
| 6 | 6 |
| 7 #include <fcntl.h> | 7 #include <fcntl.h> |
| 8 #include <stddef.h> |
| 8 #include <sys/stat.h> | 9 #include <sys/stat.h> |
| 9 #include <sys/types.h> | 10 #include <sys/types.h> |
| 10 | 11 |
| 11 #include <algorithm> | 12 #include <algorithm> |
| 12 #include <string> | 13 #include <string> |
| 13 | 14 |
| 14 #include "base/bind.h" | 15 #include "base/bind.h" |
| 15 #include "base/bind_helpers.h" | 16 #include "base/bind_helpers.h" |
| 16 #include "base/callback.h" | 17 #include "base/callback.h" |
| 17 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 } | 412 } |
| 412 | 413 |
| 413 login_screen_idle_timer_.reset(); | 414 login_screen_idle_timer_.reset(); |
| 414 grace_start_timer_.reset(); | 415 grace_start_timer_.reset(); |
| 415 grace_end_timer_.reset(); | 416 grace_end_timer_.reset(); |
| 416 DBusThreadManager::Get()->GetPowerManagerClient()->RequestRestart(); | 417 DBusThreadManager::Get()->GetPowerManagerClient()->RequestRestart(); |
| 417 } | 418 } |
| 418 | 419 |
| 419 } // namespace system | 420 } // namespace system |
| 420 } // namespace chromeos | 421 } // namespace chromeos |
| OLD | NEW |