| 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/process_metrics.h" | 5 #include "base/process/process_metrics.h" |
| 6 | 6 |
| 7 #include <limits.h> |
| 7 #include <mach/task.h> | 8 #include <mach/task.h> |
| 8 #include <stddef.h> | 9 #include <stddef.h> |
| 9 | 10 |
| 10 #include "base/logging.h" | 11 #include "base/logging.h" |
| 11 | 12 |
| 12 namespace base { | 13 namespace base { |
| 13 | 14 |
| 14 namespace { | 15 namespace { |
| 15 | 16 |
| 16 bool GetTaskInfo(task_basic_info_64* task_info_data) { | 17 bool GetTaskInfo(task_basic_info_64* task_info_data) { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 } | 90 } |
| 90 | 91 |
| 91 // Bytes committed by the system. | 92 // Bytes committed by the system. |
| 92 bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) { | 93 bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) { |
| 93 // Unimplemented. Must enable unittest for IOS when this gets implemented. | 94 // Unimplemented. Must enable unittest for IOS when this gets implemented. |
| 94 NOTIMPLEMENTED(); | 95 NOTIMPLEMENTED(); |
| 95 return false; | 96 return false; |
| 96 } | 97 } |
| 97 | 98 |
| 98 } // namespace base | 99 } // namespace base |
| OLD | NEW |