blob: 9d4b6b15a6e0ea354f179bd90eb9cee1b7bb8562 (
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 new Gaia flow param
// 'chrometype' (returns chromebox, chromebase or chromebook).
std::string GetChromeDeviceTypeString();
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_
|