OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 | 11 |
12 namespace help_utils_chromeos { | 12 namespace help_utils { |
13 | 13 |
| 14 // Returns the browser version as a string. |
| 15 base::string16 BuildBrowserVersionString(); |
| 16 |
| 17 #if defined(OS_CHROMEOS) |
14 // Returns true if update over cellular networks is enabled. | 18 // Returns true if update over cellular networks is enabled. |
15 bool IsUpdateOverCellularAllowed(); | 19 bool IsUpdateOverCellularAllowed(); |
16 | 20 |
17 // Returns localized name for the connection |type|. | 21 // Returns localized name for the connection |type|. |
18 base::string16 GetConnectionTypeAsUTF16(const std::string& type); | 22 base::string16 GetConnectionTypeAsUTF16(const std::string& type); |
| 23 #endif // OS_CHROMEOS |
19 | 24 |
20 } // namespace help_utils_chromeos | 25 } // namespace help_utils |
21 | 26 |
22 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ | 27 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_H_ |
OLD | NEW |