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

Issue 3034026: AU: Provide a reboot_if_needed D-Bus API. (Closed)

Created:
10 years, 5 months ago by petkov
Modified:
9 years, 7 months ago
Reviewers:
adlr
CC:
chromium-os-reviews_chromium.org, Will Drewry
Visibility:
Public.

Description

AU: Provide a reboot_if_needed D-Bus API. This will reboot if the current state is UPDATED_REBOOT_NEEDED. Also add -reboot option to the update_engine_client. BUG=4250 TEST=unit tests,gmerged on device and tried reboot requests

Patch Set 1 #

Patch Set 2 : whitespace and copyright fixes. #

Total comments: 3

Patch Set 3 : ignore -reboot if combined with other flags; some reordering #

Patch Set 4 : save some vertical space #

Patch Set 5 : reboot error code doesn't necessarily signal a problem. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -37 lines) Patch
M UpdateEngine.conf View 1 chunk +3 lines, -0 lines 0 comments Download
M dbus_service.h View 1 2 2 chunks +9 lines, -6 lines 0 comments Download
M dbus_service.cc View 1 2 2 chunks +23 lines, -14 lines 0 comments Download
M update_attempter.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M update_attempter.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M update_engine.xml View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M update_engine_client.cc View 1 2 3 4 4 chunks +26 lines, -6 lines 0 comments Download
M utils.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M utils.cc View 1 6 chunks +16 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
petkov
10 years, 5 months ago (2010-07-22 22:55:58 UTC) #1
adlr
LGTM w/ comment http://codereview.chromium.org/3034026/diff/2001/3006 File update_engine_client.cc (right): http://codereview.chromium.org/3034026/diff/2001/3006#newcode190 update_engine_client.cc:190: LOG(INFO) << "Requesting a reboot..."; this ...
10 years, 5 months ago (2010-07-22 23:38:49 UTC) #2
petkov
http://codereview.chromium.org/3034026/diff/2001/3006 File update_engine_client.cc (right): http://codereview.chromium.org/3034026/diff/2001/3006#newcode190 update_engine_client.cc:190: LOG(INFO) << "Requesting a reboot..."; On 2010/07/22 23:38:49, adlr ...
10 years, 5 months ago (2010-07-22 23:41:17 UTC) #3
petkov
PTAL http://codereview.chromium.org/3034026/diff/2001/3006 File update_engine_client.cc (right): http://codereview.chromium.org/3034026/diff/2001/3006#newcode190 update_engine_client.cc:190: LOG(INFO) << "Requesting a reboot..."; On 2010/07/22 23:41:17, ...
10 years, 5 months ago (2010-07-23 17:17:22 UTC) #4
adlr
10 years, 5 months ago (2010-07-23 19:55:49 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698