Chromium Code Reviews| 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; |
|
stevenjb
2016/06/18 00:52:58
It looks like we should be calling this with updat
|
| + |
| + // 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(); |