OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/timers/alarm_timer_chromeos.h" | 5 #include "components/timers/alarm_timer_chromeos.h" |
6 | 6 |
| 7 #include <stdint.h> |
7 #include <sys/timerfd.h> | 8 #include <sys/timerfd.h> |
8 | 9 |
9 #include "base/bind.h" | 10 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
11 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
12 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
13 #include "base/logging.h" | 14 #include "base/logging.h" |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
16 #include "base/pending_task.h" | 17 #include "base/pending_task.h" |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 SimpleAlarmTimer::SimpleAlarmTimer(const tracked_objects::Location& posted_from, | 465 SimpleAlarmTimer::SimpleAlarmTimer(const tracked_objects::Location& posted_from, |
465 base::TimeDelta delay, | 466 base::TimeDelta delay, |
466 const base::Closure& user_task) | 467 const base::Closure& user_task) |
467 : AlarmTimer(posted_from, delay, user_task, false) { | 468 : AlarmTimer(posted_from, delay, user_task, false) { |
468 } | 469 } |
469 | 470 |
470 SimpleAlarmTimer::~SimpleAlarmTimer() { | 471 SimpleAlarmTimer::~SimpleAlarmTimer() { |
471 } | 472 } |
472 | 473 |
473 } // namespace timers | 474 } // namespace timers |
OLD | NEW |