| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/task_management/providers/arc/arc_process_task_provider
.h" | 5 #include "chrome/browser/task_management/providers/arc/arc_process_task_provider
.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <queue> | 9 #include <queue> |
| 8 #include <set> | 10 #include <set> |
| 9 #include <utility> | 11 #include <utility> |
| 10 #include <vector> | 12 #include <vector> |
| 11 | 13 |
| 12 #include "base/logging.h" | 14 #include "base/logging.h" |
| 13 #include "base/process/process.h" | 15 #include "base/process/process.h" |
| 14 #include "base/process/process_iterator.h" | 16 #include "base/process/process_iterator.h" |
| 15 #include "base/task_runner_util.h" | 17 #include "base/task_runner_util.h" |
| 16 #include "base/threading/worker_pool.h" | 18 #include "base/threading/worker_pool.h" |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 this, | 178 this, |
| 177 &ArcProcessTaskProvider::RequestProcessList); | 179 &ArcProcessTaskProvider::RequestProcessList); |
| 178 } | 180 } |
| 179 | 181 |
| 180 void ArcProcessTaskProvider::StopUpdating() { | 182 void ArcProcessTaskProvider::StopUpdating() { |
| 181 timer_.Stop(); | 183 timer_.Stop(); |
| 182 nspid_to_task_.clear(); | 184 nspid_to_task_.clear(); |
| 183 } | 185 } |
| 184 | 186 |
| 185 } // namespace task_management | 187 } // namespace task_management |
| OLD | NEW |