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

Issue 2037002: AU: DBus support. (Closed)

Created:
10 years, 7 months ago by adlr
Modified:
9 years ago
Reviewers:
Daniel Erat
CC:
chromium-os-reviews_chromium.org, dneiss, adlr
Base URL:
ssh://git@chromiumos-git/chromeos
Visibility:
Public.

Description

AU: DBus support. A few changes to support dbus in the Update Engine daemon: - SConstruct: build marshaller for the dbus signal. - Update Attempter: respond to dbus calls and broadcast status on dbus signal. - Update Engine Client: flag to listen for status updates. - Also, cleanup outdated code in Omaha Response Handler. BUG=None TEST=attached unittests/on device tests

Patch Set 1 #

Total comments: 26

Patch Set 2 : fixes for review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+504 lines, -117 lines) Patch
M src/platform/update_engine/SConstruct View 1 8 chunks +72 lines, -28 lines 0 comments Download
M src/platform/update_engine/UpdateEngine.conf View 1 chunk +3 lines, -0 lines 0 comments Download
M src/platform/update_engine/dbus_service.h View 1 2 chunks +23 lines, -12 lines 0 comments Download
M src/platform/update_engine/dbus_service.cc View 1 3 chunks +42 lines, -0 lines 0 comments Download
M src/platform/update_engine/download_action.h View 1 3 chunks +19 lines, -1 line 0 comments Download
M src/platform/update_engine/download_action.cc View 4 chunks +9 lines, -3 lines 0 comments Download
M src/platform/update_engine/download_action_unittest.cc View 4 chunks +4 lines, -2 lines 0 comments Download
M src/platform/update_engine/filesystem_copier_action_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/platform/update_engine/install_plan.h View 4 chunks +7 lines, -1 line 0 comments Download
M src/platform/update_engine/main.cc View 1 3 chunks +7 lines, -18 lines 0 comments Download
A src/platform/update_engine/marshal.list View 1 chunk +1 line, -0 lines 0 comments Download
M src/platform/update_engine/omaha_response_handler_action.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/platform/update_engine/omaha_response_handler_action.cc View 1 chunk +9 lines, -21 lines 0 comments Download
M src/platform/update_engine/omaha_response_handler_action_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/platform/update_engine/update_attempter.h View 1 2 chunks +60 lines, -6 lines 0 comments Download
M src/platform/update_engine/update_attempter.cc View 1 5 chunks +148 lines, -15 lines 1 comment Download
M src/platform/update_engine/update_engine.xml View 1 chunk +9 lines, -0 lines 0 comments Download
M src/platform/update_engine/update_engine_client.cc View 1 5 chunks +81 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
adlr
Thanks for volunteering for code reviewing. I'll try not to bug you too much.
10 years, 7 months ago (2010-05-07 04:24:22 UTC) #1
adlr
[-sam, +dan]
10 years, 7 months ago (2010-05-10 15:46:34 UTC) #2
Daniel Erat
http://codereview.chromium.org/2037002/diff/1/2 File src/platform/update_engine/SConstruct (right): http://codereview.chromium.org/2037002/diff/1/2#newcode82 src/platform/update_engine/SConstruct:82: """ Inputs: follow python style here (and update the ...
10 years, 7 months ago (2010-05-10 16:29:49 UTC) #3
adlr
Dan, thanks for the quick review. Please have another look. Thanks, http://codereview.chromium.org/2037002/diff/1/2 File src/platform/update_engine/SConstruct (right): ...
10 years, 7 months ago (2010-05-10 17:30:04 UTC) #4
Daniel Erat
10 years, 7 months ago (2010-05-10 19:11:42 UTC) #5
LGTM

http://codereview.chromium.org/2037002/diff/12001/13015
File src/platform/update_engine/update_attempter.cc (right):

http://codereview.chromium.org/2037002/diff/12001/13015#newcode46
src/platform/update_engine/update_attempter.cc:46: const int64 kOneBillion =
1000000000L;
nit: int64_t :-)

Powered by Google App Engine
This is Rietveld 408576698