Index: content/browser/memory/swap_metrics_observer_win.cc |
diff --git a/content/browser/memory/swap_metrics_observer_win.cc b/content/browser/memory/swap_metrics_observer_win.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bd58a7c072a16391602ba522887bc82e3e527c2c |
--- /dev/null |
+++ b/content/browser/memory/swap_metrics_observer_win.cc |
@@ -0,0 +1,15 @@ |
+// 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 "content/browser/memory/swap_metrics_observer.h" |
+ |
+namespace content { |
+ |
+// static |
+SwapMetricsObserver* SwapMetricsObserver::GetInstance() { |
+ // SwapMetricsObserver isn't available on Windows. |
bashi
2017/04/18 07:12:33
I couldn't find any API to get swap rates and/or (
Primiano Tucci (use gerrit)
2017/04/27 10:01:20
There is a PageFaultsCount, PROCESS_MEMORY_COUNTER
bashi
2017/04/28 02:05:35
Yeah, I thought PageFaultsCount may be noisy as it
|
+ return nullptr; |
+} |
+ |
+} // namespace content |