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

Unified Diff: chrome/browser/ui/webui/help/help_handler.cc

Issue 1861813003: Display device specific up to date message on chromebook. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« chrome/app/chromium_strings.grd ('K') | « chrome/app/chromium_strings.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/help/help_handler.cc
diff --git a/chrome/browser/ui/webui/help/help_handler.cc b/chrome/browser/ui/webui/help/help_handler.cc
index dfbcbd3ee6980ae043ebf8f9b87078b69c775581..579da1345fb97cacf49e5aa49d028bc683fb6f82 100644
--- a/chrome/browser/ui/webui/help/help_handler.cc
+++ b/chrome/browser/ui/webui/help/help_handler.cc
@@ -8,6 +8,7 @@
#include <string>
+#include "ash/system/chromeos/devicetype_utils.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
@@ -301,6 +302,11 @@ void HelpHandler::GetLocalizedValues(base::DictionaryValue* localized_strings) {
l10n_util::GetStringUTF16(resources[i].ids));
}
+#if defined(OS_CHROMEOS)
+ localized_strings->SetString("upToDate", ash::SubstituteChromeOSDeviceType(
+ IDS_UPGRADE_UP_TO_DATE));
+#endif
+
localized_strings->SetString("updateObsoleteSystem",
ObsoleteSystem::LocalizedObsoleteString());
localized_strings->SetString("updateObsoleteSystemURL",
« chrome/app/chromium_strings.grd ('K') | « chrome/app/chromium_strings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698