blob: f53b4a5914b76ffbb00192c2bd7b0677497636f1 [file] [log] [blame]
// Copyright 2020 The Chromium OS 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 DIAGNOSTICS_WILCO_DTC_SUPPORTD_TELEMETRY_SYSTEM_INFO_SERVICE_H_
#define DIAGNOSTICS_WILCO_DTC_SUPPORTD_TELEMETRY_SYSTEM_INFO_SERVICE_H_
#include <string>
namespace diagnostics {
class SystemInfoService {
public:
virtual ~SystemInfoService() = default;
// Gets the OS version. Returns true if successful.
virtual bool GetOsVersion(std::string* version_out) = 0;
// Gets the OS milestone. Returns true if successful.
virtual bool GetOsMilestone(int* milestone_out) = 0;
};
} // namespace diagnostics
#endif // DIAGNOSTICS_WILCO_DTC_SUPPORTD_TELEMETRY_SYSTEM_INFO_SERVICE_H_