blob: d8b5b0c2c3fad66ce3950dbb443071a3f7d9ca32 [file] [log] [blame]
// Copyright 2022 The Chromium 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 CHROMEOS_CONSTANTS_DEVICETYPE_H_
#define CHROMEOS_CONSTANTS_DEVICETYPE_H_
#include "base/component_export.h"
namespace chromeos {
// The form factor of the device.
enum class DeviceType {
kChromebook,
kChromebase,
kChromebit,
kChromebox,
kUnknown, // Unknown fallback device.
};
// Returns the current device type, e.g. Chromebook, Chromebox.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) DeviceType GetDeviceType();
} // namespace chromeos
#endif // CHROMEOS_CONSTANTS_DEVICETYPE_H_