summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/ui/webui/settings/about_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/ui/webui/settings/about_handler.h')
-rw-r--r--chromium/chrome/browser/ui/webui/settings/about_handler.h23
1 files changed, 8 insertions, 15 deletions
diff --git a/chromium/chrome/browser/ui/webui/settings/about_handler.h b/chromium/chrome/browser/ui/webui/settings/about_handler.h
index 0c9d0b82c4e..679bad2fa37 100644
--- a/chromium/chrome/browser/ui/webui/settings/about_handler.h
+++ b/chromium/chrome/browser/ui/webui/settings/about_handler.h
@@ -25,7 +25,6 @@
#endif // defined(OS_CHROMEOS)
namespace base {
-class DictionaryValue;
class FilePath;
class ListValue;
}
@@ -100,12 +99,6 @@ class AboutHandler : public settings::SettingsPageUIHandler,
// Sets the release track version.
void HandleSetChannel(const base::ListValue* args);
- // Retrieves OS, ARC and firmware versions.
- void HandleGetVersionInfo(const base::ListValue* args);
- void OnGetVersionInfoReady(
- std::string callback_id,
- std::unique_ptr<base::DictionaryValue> version_info);
-
// Retrieves combined channel info.
void HandleGetChannelInfo(const base::ListValue* args);
// Callbacks for version_updater_->GetChannel calls.
@@ -162,15 +155,15 @@ class AboutHandler : public settings::SettingsPageUIHandler,
const base::FilePath& label_dir_path,
const std::string& text);
- // Retrieves device end of life status.
- // Will asynchronously resolve the provided callback with a boolean
- // indicating whether the device has reached end-of-life status (will no
- // longer receive updates).
- void HandleGetHasEndOfLife(const base::ListValue* args);
+ // Retrieves device End of Life information which contains the End of Life
+ // date. Will asynchronously resolve the provided callback with an object
+ // containing a boolean indicating whether the device has reached/passed End
+ // of Life, and an End Of Life description formatted with the month and year.
+ void HandleGetEndOfLifeInfo(const base::ListValue* args);
- // Callbacks for version_updater_->GetEolStatus calls.
- void OnGetEndOfLifeStatus(std::string callback_id,
- update_engine::EndOfLifeStatus status);
+ // Callbacks for version_updater_->GetEolInfo calls.
+ void OnGetEndOfLifeInfo(std::string callback_id,
+ chromeos::UpdateEngineClient::EolInfo eol_info);
#endif
// Specialized instance of the VersionUpdater used to update the browser.