Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1824)

Unified Diff: chrome/browser/ui/webui/help/help_utils.h

Issue 449623003: Integrate About page into Settings for Chrome OS settings in a window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698