1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_
8 #include "base/strings/string16.h"
12 namespace chrome_device_types
{
14 extern const char kChromebox
[];
15 extern const char kChromebase
[];
16 extern const char kChromebook
[];
18 } // namespace chrome_device_types
20 // Returns the name of the Chrome device type (e.g. Chromebook, Chromebox).
21 base::string16
GetChromeDeviceType();
23 // Returns the string resource ID for the name of the Chrome device type
24 // (e.g. IDS_CHROMEBOOK, IDS_CHROMEBOX).
25 int GetChromeDeviceTypeResourceId();
27 // Returns the name of the Chrome device type to pass to the new Gaia flow param
28 // 'chrometype' (returns chromebox, chromebase or chromebook).
29 std::string
GetChromeDeviceTypeString();
31 } // namespace chromeos
33 #endif // CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_