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

Issue 1599029: update engine: 32- and 64-bit compile (Closed)

Created:
10 years, 8 months ago by adlr
Modified:
10 years, 8 months ago
Reviewers:
Daniel Erat
CC:
chromium-os-reviews_chromium.org, dneiss, adlr
Visibility:
Public.

Description

update engine: 32- and 64-bit compile

Patch Set 1 #

Total comments: 12

Patch Set 2 : int32->int32_t, PRIi64, 80 cols for review #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -48 lines) Patch
M src/platform/update_engine/SConstruct View 1 3 chunks +18 lines, -1 line 0 comments Download
M src/platform/update_engine/action_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/platform/update_engine/bzip.cc View 1 6 chunks +12 lines, -10 lines 0 comments Download
M src/platform/update_engine/decompressing_file_writer_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/platform/update_engine/delta_diff_generator.cc View 2 chunks +1 line, -2 lines 0 comments Download
M src/platform/update_engine/extent_writer.h View 3 chunks +3 lines, -3 lines 3 comments Download
M src/platform/update_engine/gen_coverage_html.sh View 1 chunk +1 line, -0 lines 1 comment Download
M src/platform/update_engine/gzip.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/platform/update_engine/http_fetcher_unittest.cc View 5 chunks +12 lines, -2 lines 0 comments Download
M src/platform/update_engine/mock_http_fetcher.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/platform/update_engine/subprocess.cc View 1 6 chunks +18 lines, -11 lines 0 comments Download
M src/platform/update_engine/test_http_server.cc View 1 4 chunks +6 lines, -3 lines 0 comments Download
M src/platform/update_engine/test_utils.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M src/platform/update_engine/update_check_action.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/platform/update_engine/update_check_action_unittest.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M src/platform/update_engine/utils.cc View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 4 (0 generated)
adlr
10 years, 8 months ago (2010-04-14 03:55:15 UTC) #1
Daniel Erat
http://codereview.chromium.org/1599029/diff/1/4 File src/platform/update_engine/bzip.cc (right): http://codereview.chromium.org/1599029/diff/1/4#newcode23 src/platform/update_engine/bzip.cc:23: uint32* out_length, It's probably better to use uint32_t, etc. ...
10 years, 8 months ago (2010-04-14 13:58:45 UTC) #2
adlr
http://codereview.chromium.org/1599029/diff/1/4 File src/platform/update_engine/bzip.cc (right): http://codereview.chromium.org/1599029/diff/1/4#newcode23 src/platform/update_engine/bzip.cc:23: uint32* out_length, On 2010/04/14 13:58:46, Daniel Erat wrote: > ...
10 years, 8 months ago (2010-04-14 19:11:21 UTC) #3
Daniel Erat
10 years, 8 months ago (2010-04-15 00:55:47 UTC) #4
LGTM

http://codereview.chromium.org/1599029/diff/8001/6007
File src/platform/update_engine/extent_writer.h (right):

http://codereview.chromium.org/1599029/diff/8001/6007#newcode32
src/platform/update_engine/extent_writer.h:32: uint32 block_size) = 0;
switch this to uint32_t

http://codereview.chromium.org/1599029/diff/8001/6007#newcode60
src/platform/update_engine/extent_writer.h:60: bool Init(int fd, const
std::vector<Extent>& extents, uint32 block_size) {
this too

http://codereview.chromium.org/1599029/diff/8001/6007#newcode95
src/platform/update_engine/extent_writer.h:95: bool Init(int fd, const
std::vector<Extent>& extents, uint32 block_size) {
and this

http://codereview.chromium.org/1599029/diff/8001/6008
File src/platform/update_engine/gen_coverage_html.sh (right):

http://codereview.chromium.org/1599029/diff/8001/6008#newcode14
src/platform/update_engine/gen_coverage_html.sh:14: #./update_engine_unittests
--gtest_filter='ZipTest*.*'
did you mean to leave this in?  it's commented out.

http://codereview.chromium.org/1599029/diff/8001/6017
File src/platform/update_engine/utils.cc (right):

http://codereview.chromium.org/1599029/diff/8001/6017#newcode83
src/platform/update_engine/utils.cc:83: for (uint32 i = 0; i < length; i +=
bytes_per_line) {
uint32_t

Powered by Google App Engine
This is Rietveld 408576698