Index: update_attempter.h |
diff --git a/update_attempter.h b/update_attempter.h |
index 3e47969d01ddc39f1b4624f766542f02d809b7de..cd7f480aa127690b8aa442deb100d5bf16b56038 100644 |
--- a/update_attempter.h |
+++ b/update_attempter.h |
@@ -86,6 +86,10 @@ class UpdateAttempter : public ActionProcessorDelegate, |
void CheckForUpdate(const std::string& app_version, |
const std::string& omaha_url); |
+ // Initiates a reboot if the current state is |
+ // UPDATED_NEED_REBOOT. Returns true on sucess, false otherwise. |
+ bool RebootIfNeeded(); |
+ |
// DownloadActionDelegate method |
void BytesReceived(uint64_t bytes_received, uint64_t total); |