| 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/chromeos/resource_reporter/resource_reporter.h" | 5 #include "chrome/browser/chromeos/resource_reporter/resource_reporter.h" |
| 6 | 6 |
| 7 #include <cstdint> | 7 #include <cstdint> |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/memory/memory_coordinator_client_registry.h" | 12 #include "base/memory/memory_coordinator_client_registry.h" |
| 13 #include "base/memory/memory_pressure_monitor.h" | 13 #include "base/memory/memory_pressure_monitor.h" |
| 14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
| 15 #include "base/rand_util.h" | 15 #include "base/rand_util.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/sys_info.h" | 17 #include "base/sys_info.h" |
| 18 #include "base/threading/thread_task_runner_handle.h" |
| 18 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 19 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 20 #include "chrome/browser/task_manager/task_manager_interface.h" | 21 #include "chrome/browser/task_manager/task_manager_interface.h" |
| 21 #include "components/rappor/rappor_service_impl.h" | 22 #include "components/rappor/rappor_service_impl.h" |
| 22 #include "content/public/browser/browser_thread.h" | 23 #include "content/public/browser/browser_thread.h" |
| 23 | 24 |
| 24 namespace chromeos { | 25 namespace chromeos { |
| 25 | 26 |
| 26 namespace { | 27 namespace { |
| 27 | 28 |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 break; | 443 break; |
| 443 case base::MemoryState::SUSPENDED: | 444 case base::MemoryState::SUSPENDED: |
| 444 // Note: Not supported at present. Fall through. | 445 // Note: Not supported at present. Fall through. |
| 445 case base::MemoryState::UNKNOWN: | 446 case base::MemoryState::UNKNOWN: |
| 446 NOTREACHED(); | 447 NOTREACHED(); |
| 447 break; | 448 break; |
| 448 } | 449 } |
| 449 } | 450 } |
| 450 | 451 |
| 451 } // namespace chromeos | 452 } // namespace chromeos |
| OLD | NEW |