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

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

Issue 2060623002: Implementation of Device End of Life Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify browsertest 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/version_updater_chromeos.cc
diff --git a/chrome/browser/ui/webui/help/version_updater_chromeos.cc b/chrome/browser/ui/webui/help/version_updater_chromeos.cc
index 22e1c7ae2e2024b5991a8aa81cf378534dd5dc73..49d839190fa3569302bb3283672d8306c033a4d9 100644
--- a/chrome/browser/ui/webui/help/version_updater_chromeos.cc
+++ b/chrome/browser/ui/webui/help/version_updater_chromeos.cc
@@ -179,6 +179,14 @@ void VersionUpdaterCros::GetChannel(bool get_current_channel,
update_engine_client->GetChannel(get_current_channel, cb);
}
+void VersionUpdaterCros::GetEolStatus(const EolStatusCallback& cb) {
+ UpdateEngineClient* update_engine_client =
+ DBusThreadManager::Get()->GetUpdateEngineClient();
+
+ // Request the Eol Status.
+ update_engine_client->GetEolStatus(cb);
+}
+
VersionUpdaterCros::VersionUpdaterCros(content::WebContents* web_contents)
: context_(web_contents ? web_contents->GetBrowserContext() : nullptr),
last_operation_(UpdateEngineClient::UPDATE_STATUS_IDLE),

Powered by Google App Engine
This is Rietveld 408576698