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

Issue 2981008: Initial implementation of sending an install success even to Omaha. (Closed)

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

Description

Initial implementation of sending an install success event to Omaha. BUG=560 TEST=emerged,ran unit tests

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add unit tests. Event requests always succeed. #

Patch Set 3 : Fix some comments. #

Total comments: 2

Patch Set 4 : Use StringPrintf to generated the expected XML body. #

Patch Set 5 : Fix include file order. #

Total comments: 2

Patch Set 6 : Fix header order and test names. #

Patch Set 7 : Fix indentation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -121 lines) Patch
M integration_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M omaha_request_action.h View 1 2 2 chunks +53 lines, -7 lines 0 comments Download
M omaha_request_action.cc View 1 6 chunks +34 lines, -14 lines 0 comments Download
M omaha_request_action_unittest.cc View 1 2 3 4 5 15 chunks +195 lines, -85 lines 0 comments Download
M omaha_request_prep_action.cc View 1 2 3 4 5 6 1 chunk +10 lines, -10 lines 0 comments Download
M update_attempter.cc View 5 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
petkov
Before I write unit tests and do some deeper testing, could you please take a ...
10 years, 5 months ago (2010-07-14 00:15:47 UTC) #1
adlr
in general looks good. one comment below http://codereview.chromium.org/2981008/diff/1/3 File omaha_request_action.cc (right): http://codereview.chromium.org/2981008/diff/1/3#newcode115 omaha_request_action.cc:115: : event_(event), ...
10 years, 5 months ago (2010-07-14 00:54:05 UTC) #2
petkov
http://codereview.chromium.org/2981008/diff/1/3 File omaha_request_action.cc (right): http://codereview.chromium.org/2981008/diff/1/3#newcode115 omaha_request_action.cc:115: : event_(event), On 2010/07/14 00:54:05, adlr wrote: > what's ...
10 years, 5 months ago (2010-07-14 05:03:38 UTC) #3
adlr
Sounds good to me. On Tue, Jul 13, 2010 at 10:03 PM, <petkov@chromium.org> wrote: > ...
10 years, 5 months ago (2010-07-14 17:31:45 UTC) #4
petkov
PTAL
10 years, 5 months ago (2010-07-14 18:43:40 UTC) #5
adlr
LGTM if your further tests w/ the dev server work out and you address this ...
10 years, 5 months ago (2010-07-14 19:48:04 UTC) #6
petkov
Thanks much for the prompt reviews. Tested with devserver and it seems to work -- ...
10 years, 5 months ago (2010-07-14 20:44:47 UTC) #7
adlr
LGTM http://codereview.chromium.org/2981008/diff/21001/22004 File omaha_request_action_unittest.cc (right): http://codereview.chromium.org/2981008/diff/21001/22004#newcode5 omaha_request_action_unittest.cc:5: #include <glib.h> in general i thought the order ...
10 years, 5 months ago (2010-07-14 20:57:29 UTC) #8
petkov
10 years, 5 months ago (2010-07-14 21:19:52 UTC) #9
http://codereview.chromium.org/2981008/diff/21001/22004
File omaha_request_action_unittest.cc (right):

http://codereview.chromium.org/2981008/diff/21001/22004#newcode5
omaha_request_action_unittest.cc:5: #include <glib.h>
On 2010/07/14 20:57:29, adlr wrote:
> in general i thought the order of headers was (correct me if i'm wrong):
> - C sys standard
> - C standard
> - C++ standard
> - library
> - local
> 
> so i would consider glib a library header, and string/vector c++ standard

I've fixed the order again but I'm not sure why in our context "glib" would be
different than "base", for example.

Powered by Google App Engine
This is Rietveld 408576698