blob: 3efc4ef9bbc65b529fa689e58fca988faaf06c84 [file] [log] [blame]
// Copyright 2019 The Fuchsia 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 "src/cobalt/bin/system-metrics/testing/fake_temperature_fetcher.h"
#include <stdint.h>
namespace cobalt {
FakeTemperatureFetcher::FakeTemperatureFetcher() {}
TemperatureFetchStatus FakeTemperatureFetcher::FetchTemperature(int32_t *temperature) {
*temperature = 38;
return TemperatureFetchStatus::SUCCEED;
}
} // namespace cobalt