#include "chrome/common/channel_info.h"
#include <stdlib.h>
#include <string>
#include <string_view>
#include "base/environment.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/version_info/version_info.h"
namespace chrome {
namespace {
struct ChannelState { … };
ChannelState GetChannelImpl() { … }
}
std::string GetChannelName(WithExtendedStable with_extended_stable) { … }
std::string GetChannelSuffixForDataDir() { … }
#if BUILDFLAG(IS_LINUX)
std::string GetChannelSuffixForExtraFlagsEnvVarName() { … }
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
std::string GetDesktopName(base::Environment* env) { … }
#endif
version_info::Channel GetChannel() { … }
bool IsExtendedStableChannel() { … }
}