summaryrefslogtreecommitdiffstats
path: root/chromeos/system/devicetype.h
blob: f0a610c23a5bc9833eb950adbc1e89ea078fa58b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2015 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_SYSTEM_DEVICETYPE_H_
#define CHROMEOS_SYSTEM_DEVICETYPE_H_

#include "chromeos/chromeos_export.h"

namespace chromeos {

enum class DeviceType {
  kChromebase,
  kChromebit,
  kChromebook,
  kChromebox,
  kUnknown,  // Unknown fallback device.
};

// Returns the current device type, eg, Chromebook, Chromebox.
CHROMEOS_EXPORT DeviceType GetDeviceType();

}  // namespace chromeos

#endif  // CHROMEOS_SYSTEM_DEVICETYPE_H_