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

Unified Diff: chromeos/dbus/update_engine_client.h

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: chromeos/dbus/update_engine_client.h
diff --git a/chromeos/dbus/update_engine_client.h b/chromeos/dbus/update_engine_client.h
index 9950e2137d3b1d75b657325ffff2346ec0ecf9ee..c0941c5138658cb8cde8f2b4dfc0d906e81df5a9 100644
--- a/chromeos/dbus/update_engine_client.h
+++ b/chromeos/dbus/update_engine_client.h
@@ -133,6 +133,13 @@ class CHROMEOS_EXPORT UpdateEngineClient : public DBusClient {
virtual void GetChannel(bool get_current_channel,
const GetChannelCallback& callback) = 0;
+ // Called once GetEolStatus() is complete. Takes one parameter;
+ // - EolStatus: the eol status of the device.
+ typedef base::Callback<void(int status)> GetEolStatusCallback;
+
+ // Get Eol status of the device and calls |callback| when completed.
+ virtual void GetEolStatus(const GetEolStatusCallback& callback) = 0;
+
// Returns an empty UpdateCheckCallback that does nothing.
static UpdateCheckCallback EmptyUpdateCheckCallback();

Powered by Google App Engine
This is Rietveld 408576698