blob: 56d4c398da484b27b51a99495130612d9a327507 [file] [log] [blame] [edit]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_CRASH_BUILD_INFO_H_
#define CHROMECAST_CRASH_BUILD_INFO_H_
#include <string>
namespace chromecast {
// Returns a short, readable version string.
const std::string GetVersionString();
const std::string GetVersionString(const std::string& cast_release_number,
const std::string& cast_incremental_number);
// Return whether build is "user", or "eng"
const std::string GetBuildVariant();
// Used by tests.
const std::string VersionToCrashString(const std::string& cast_build_revision);
const std::string VersionToVariant(const std::string& cast_build_revision);
} // namespace chromecast
#endif // CHROMECAST_CRASH_BUILD_INFO_H_