Chromium Code Reviews| Index: chrome/browser/chromeos/login/screens/update_screen.h |
| diff --git a/chrome/browser/chromeos/login/screens/update_screen.h b/chrome/browser/chromeos/login/screens/update_screen.h |
| index 2c60ba4ea9237bda0af6bc0d8f7464c57479027b..163a11da3ca2fac9a2bfdff26afd06844446cae6 100644 |
| --- a/chrome/browser/chromeos/login/screens/update_screen.h |
| +++ b/chrome/browser/chromeos/login/screens/update_screen.h |
| @@ -125,6 +125,14 @@ class UpdateScreen : public BaseScreen, |
| // The user requested an attempt to connect to the network should be made. |
| void OnConnectRequested(); |
| + // Records the fact that we performed an update check and were notified that |
| + // it was not necessary to perform the update. |
| + void RecordUpdateCheckWithoutUpdate(); |
| + |
| + // Returns true if we recently performed an update check which did not lead |
| + // to an update. |
| + bool RecentUpdateCheckWithoutUpdate(); |
|
xiyuan
2017/05/09 22:03:52
nit: RecentUpdateCheckWithoutUpdate -> ShouldCheck
kumarniranjan
2017/05/09 22:49:47
Done.
|
| + |
| // Timer for the interval to wait for the reboot. |
| // If reboot didn't happen - ask user to reboot manually. |
| base::OneShotTimer reboot_timer_; |