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; |