Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: base/process/process_metrics_fuchsia.cc

Issue 2692273008: Hacky slashy (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/process/process_metrics_fuchsia.cc
diff --git a/base/process/process_metrics_fuchsia.cc b/base/process/process_metrics_fuchsia.cc
new file mode 100644
index 0000000000000000000000000000000000000000..25e10d8ae81dfabc1b8eff1243510d2013252f48
--- /dev/null
+++ b/base/process/process_metrics_fuchsia.cc
@@ -0,0 +1,27 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/process/process_metrics.h"
+
+namespace base {
+
+// static
+std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics(
+ ProcessHandle process) {
+ // TODO(scottmg): Port.
+ return std::unique_ptr<ProcessMetrics>();
+}
+
+double ProcessMetrics::GetCPUUsage() {
+ // TODO(scottmg): Port.
+ return 0.0;
+}
+
+// static
+size_t GetSystemCommitCharge() {
+ // TODO(scottmg): Port.
+ return 0;
+}
+
+} // namespace base

Powered by Google App Engine
This is Rietveld 408576698