| 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 "base/process/kill.h" | 5 #include "base/process/kill.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <io.h> | 8 #include <io.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <algorithm> | |
| 12 #include <utility> | 11 #include <utility> |
| 13 | 12 |
| 14 #include "base/bind.h" | 13 #include "base/bind.h" |
| 15 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
| 16 #include "base/logging.h" | 15 #include "base/logging.h" |
| 17 #include "base/macros.h" | 16 #include "base/macros.h" |
| 18 #include "base/process/process_iterator.h" | 17 #include "base/process/process_iterator.h" |
| 19 #include "base/threading/thread_task_runner_handle.h" | 18 #include "base/threading/thread_task_runner_handle.h" |
| 20 #include "base/win/object_watcher.h" | 19 #include "base/win/object_watcher.h" |
| 21 | 20 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 return; | 193 return; |
| 195 } | 194 } |
| 196 | 195 |
| 197 ThreadTaskRunnerHandle::Get()->PostDelayedTask( | 196 ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
| 198 FROM_HERE, Bind(&TimerExpiredTask::TimedOut, | 197 FROM_HERE, Bind(&TimerExpiredTask::TimedOut, |
| 199 Owned(new TimerExpiredTask(std::move(process)))), | 198 Owned(new TimerExpiredTask(std::move(process)))), |
| 200 TimeDelta::FromMilliseconds(kWaitInterval)); | 199 TimeDelta::FromMilliseconds(kWaitInterval)); |
| 201 } | 200 } |
| 202 | 201 |
| 203 } // namespace base | 202 } // namespace base |
| OLD | NEW |