OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 | 11 |
12 // Returns the name of the Chrome device type (eg. Chromebook, Chromebox). | 12 // Returns the name of the Chrome device type (e.g. Chromebook, Chromebox). |
13 base::string16 GetChromeDeviceType(); | 13 base::string16 GetChromeDeviceType(); |
14 | 14 |
| 15 // Returns the string resource ID for the name of the Chrome device type |
| 16 // (e.g. IDS_CHROMEBOOK, IDS_CHROMEBOX). |
| 17 int GetChromeDeviceTypeResourceId(); |
| 18 |
15 } // namespace chromeos | 19 } // namespace chromeos |
16 | 20 |
17 #endif // CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_ | 21 #endif // CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_ |
OLD | NEW |