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

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

Issue 2081873002: Incorporate comments in Dbus code and add Eol icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_handler.cc
diff --git a/chrome/browser/ui/webui/help/help_handler.cc b/chrome/browser/ui/webui/help/help_handler.cc
index f2050af552a10f4b7701e223774eab6721f9306a..558c7bc8dacb2988d91c1b05ffb58857b7a16d90 100644
--- a/chrome/browser/ui/webui/help/help_handler.cc
+++ b/chrome/browser/ui/webui/help/help_handler.cc
@@ -74,7 +74,6 @@
#include "chromeos/system/statistics_provider.h"
#include "components/prefs/pref_service.h"
#include "components/user_manager/user_manager.h"
-#include "third_party/cros_system_api/dbus/update_engine/dbus-constants.h"
#endif
using base::ListValue;
@@ -208,7 +207,7 @@ std::string ReadRegulatoryLabelText(const base::FilePath& path) {
}
// Returns messages that applys to this eol status
-base::string16 GetEolMessage(int status) {
+base::string16 GetEolMessage(update_engine::EndOfLifeStatus status) {
if (status == update_engine::EndOfLifeStatus::kSecurityOnly) {
return l10n_util::GetStringFUTF16(
IDS_ABOUT_PAGE_EOL_SECURITY_ONLY,
@@ -764,7 +763,7 @@ void HelpHandler::OnRegulatoryLabelTextRead(const std::string& text) {
base::StringValue(base::CollapseWhitespaceASCII(text, true)));
}
-void HelpHandler::OnEolStatus(const int status) {
+void HelpHandler::OnEolStatus(update_engine::EndOfLifeStatus status) {
if (status == update_engine::EndOfLifeStatus::kSupported ||
IsEnterpriseManaged()) {
return;

Powered by Google App Engine
This is Rietveld 408576698