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

Issue 6836025: Add support to update_engine to poke Omaha after an update has been applied (Closed)

Created:
9 years, 8 months ago by thieule
Modified:
9 years, 4 months ago
Reviewers:
adlr
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Add support to update_engine to poke Omaha after an update has been applied successfully and is awaiting reboot to help ensure the number of actives remains accurate. BUG=chromium-os:12026 TEST=Manual test, unit tests Change-Id: Ie3397264b0b34e8d423fb9748970f7d330122180 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=116fda3

Patch Set 1 #

Patch Set 2 : Removed extra newline #

Patch Set 3 : Change to use <ping> element with active=1 #

Total comments: 6

Patch Set 4 : Addressed code review feedbacks #

Patch Set 5 : Fixed bug where last ping day was not properly updated #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -35 lines) Patch
M omaha_request_action.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M omaha_request_action.cc View 1 2 3 4 6 chunks +16 lines, -10 lines 0 comments Download
M omaha_request_action_unittest.cc View 1 2 3 12 chunks +25 lines, -14 lines 0 comments Download
M update_attempter.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M update_attempter.cc View 1 2 3 8 chunks +31 lines, -7 lines 0 comments Download
M update_attempter_unittest.cc View 1 2 3 5 chunks +44 lines, -2 lines 2 comments Download
M update_check_scheduler.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M update_check_scheduler.cc View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
thieule
I've modified update_engine to send an "update complete, success reboot" event after the update has ...
9 years, 8 months ago (2011-04-13 20:59:38 UTC) #1
thieule
9 years, 8 months ago (2011-04-15 21:28:56 UTC) #2
thieule
Modified the code to use the <ping> element with active=1 instead of sending an event. ...
9 years, 8 months ago (2011-04-15 21:30:01 UTC) #3
adlr
http://codereview.chromium.org/6836025/diff/4001/omaha_request_action.h File omaha_request_action.h (right): http://codereview.chromium.org/6836025/diff/4001/omaha_request_action.h#newcode133 omaha_request_action.h:133: bool ping_only = false); our style says we can't ...
9 years, 8 months ago (2011-04-15 22:04:51 UTC) #4
thieule
http://codereview.chromium.org/6836025/diff/4001/omaha_request_action.h File omaha_request_action.h (right): http://codereview.chromium.org/6836025/diff/4001/omaha_request_action.h#newcode133 omaha_request_action.h:133: bool ping_only = false); On 2011/04/15 22:04:51, adlr wrote: ...
9 years, 8 months ago (2011-04-15 23:32:57 UTC) #5
thieule
One more set of changes. This time, it's to fix a bug I found while ...
9 years, 8 months ago (2011-04-16 00:48:42 UTC) #6
adlr
http://codereview.chromium.org/6836025/diff/5012/update_attempter_unittest.cc File update_attempter_unittest.cc (right): http://codereview.chromium.org/6836025/diff/5012/update_attempter_unittest.cc#newcode327 update_attempter_unittest.cc:327: g_main_loop_quit(loop_); this still may run before the action completes. ...
9 years, 8 months ago (2011-04-18 18:05:28 UTC) #7
thieule
http://codereview.chromium.org/6836025/diff/5012/update_attempter_unittest.cc File update_attempter_unittest.cc (right): http://codereview.chromium.org/6836025/diff/5012/update_attempter_unittest.cc#newcode327 update_attempter_unittest.cc:327: g_main_loop_quit(loop_); On 2011/04/18 18:05:28, adlr wrote: > this still ...
9 years, 8 months ago (2011-04-18 21:40:15 UTC) #8
adlr
9 years, 8 months ago (2011-04-19 02:43:51 UTC) #9
LGTM!

Sorry for the delay

Powered by Google App Engine
This is Rietveld 408576698