| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "base/process/process_metrics.h" |
| 6 |
| 7 namespace base { |
| 8 |
| 9 // static |
| 10 std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics( |
| 11 ProcessHandle process) { |
| 12 // TODO(scottmg): Port. |
| 13 return std::unique_ptr<ProcessMetrics>(); |
| 14 } |
| 15 |
| 16 double ProcessMetrics::GetCPUUsage() { |
| 17 // TODO(scottmg): Port. |
| 18 return 0.0; |
| 19 } |
| 20 |
| 21 // static |
| 22 size_t GetSystemCommitCharge() { |
| 23 // TODO(scottmg): Port. |
| 24 return 0; |
| 25 } |
| 26 |
| 27 } // namespace base |
| OLD | NEW |