summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/chromeos_utils.h
blob: c09b98f110595ed2c039f1f7d6a04a5187aad003 (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
26
27
28
29
30
31
32
33
// Copyright 2014 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 CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_
#define CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_

#include "base/strings/string16.h"

namespace chromeos {

namespace chrome_device_types {

extern const char kChromebox[];
extern const char kChromebase[];
extern const char kChromebook[];

}  // namespace chrome_device_types

// Returns the name of the Chrome device type (e.g. Chromebook, Chromebox).
base::string16 GetChromeDeviceType();

// Returns the string resource ID for the name of the Chrome device type
// (e.g. IDS_CHROMEBOOK, IDS_CHROMEBOX).
int GetChromeDeviceTypeResourceId();

// Returns the name of the Chrome device type to pass to the MinuteMaid param
// 'chrometype' (returns chromebox, chromebase or chromebook).
std::string GetChromeDeviceTypeString();

}  // namespace chromeos

#endif  // CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_