| // Copyright 2021 The ChromiumOS Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef RMAD_METRICS_MOCK_METRICS_UTILS_H_ |
| #define RMAD_METRICS_MOCK_METRICS_UTILS_H_ |
| #include <base/memory/scoped_refptr.h> |
| #include "rmad/metrics/metrics_utils.h" |
| #include "rmad/utils/json_store.h" |
| class MockMetricsUtils : public MetricsUtils { |
| MockMetricsUtils() = default; |
| ~MockMetricsUtils() override = default; |
| MOCK_METHOD(bool, RecordAll, (scoped_refptr<JsonStore>), (override)); |
| (scoped_refptr<JsonStore>), |
| RecordReplacedComponents, |
| (scoped_refptr<JsonStore>), |
| (scoped_refptr<JsonStore>), |
| RecordAdditionalActivities, |
| (scoped_refptr<JsonStore>), |
| RecordShimlessRmaStateReport, |
| (scoped_refptr<JsonStore>), |
| #endif // RMAD_METRICS_MOCK_METRICS_UTILS_H_ |