Chromium Code Reviews| 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..f80a5b5fa523bdba2ba05d829cf918534a5043e0 |
| --- /dev/null |
| +++ b/content/browser/memory/swap_metrics_observer_win.cc |
| @@ -0,0 +1,16 @@ |
| +// 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 for now. |
| + // TODO(bashi): Figure out a way to measure swap rates on Windows. |
|
chrisha
2017/05/03 15:55:56
You can find detailed stats for a particular proce
bashi
2017/05/08 05:52:00
Thank you Chris for the detailed information. That
|
| + return nullptr; |
| +} |
| + |
| +} // namespace content |