blob: 5d7063f4ddb6cca7f5cad4a217528fa555656647 [file] [log] [blame]
// Copyright 2019 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.
#ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_EVALUATOR_HELPER_POSIX_H_
#define CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_EVALUATOR_HELPER_POSIX_H_
#include "chrome/browser/performance_monitor/system_monitor.h"
namespace performance_monitor {
class MetricEvaluatorsHelperPosix : public MetricEvaluatorsHelper {
public:
MetricEvaluatorsHelperPosix();
~MetricEvaluatorsHelperPosix() override;
// MetricEvaluatorsHelper:
base::Optional<int> GetFreePhysicalMemoryMb() override;
base::Optional<float> GetDiskIdleTimePercent() override;
private:
DISALLOW_COPY_AND_ASSIGN(MetricEvaluatorsHelperPosix);
};
} // namespace performance_monitor
#endif // CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_EVALUATOR_HELPER_POSIX_H_