Index: chrome/browser/ui/webui/help/help_utils.h |
diff --git a/chrome/browser/ui/webui/help/help_utils_chromeos.h b/chrome/browser/ui/webui/help/help_utils.h |
similarity index 56% |
rename from chrome/browser/ui/webui/help/help_utils_chromeos.h |
rename to chrome/browser/ui/webui/help/help_utils.h |
index ab58c49b8096c69a223d1b708d08cfc51d84c9c0..1d8d2956da96dd52edccf16b0c5f00c53283d2dd 100644 |
--- a/chrome/browser/ui/webui/help/help_utils_chromeos.h |
+++ b/chrome/browser/ui/webui/help/help_utils.h |
@@ -2,21 +2,26 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ |
-#define CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ |
+#ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_H_ |
+#define CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_H_ |
#include <string> |
#include "base/strings/string16.h" |
-namespace help_utils_chromeos { |
+namespace help_utils { |
+// Returns the browser version as a string. |
+base::string16 BuildBrowserVersionString(); |
+ |
+#if defined(OS_CHROMEOS) |
// Returns true if update over cellular networks is enabled. |
bool IsUpdateOverCellularAllowed(); |
// Returns localized name for the connection |type|. |
base::string16 GetConnectionTypeAsUTF16(const std::string& type); |
+#endif // OS_CHROMEOS |
-} // namespace help_utils_chromeos |
+} // namespace help_utils |
-#endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ |
+#endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_H_ |