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

Issue 3604005: AU: Ranges class to managing unordered collection of blocks/extents. (Closed)

Created:
10 years, 2 months ago by adlr
Modified:
9 years ago
Reviewers:
petkov
CC:
chromium-os-reviews_chromium.org, petkov, adlr
Base URL:
ssh://git@chromiumos-git/update_engine.git
Visibility:
Public.

Description

AU: Ranges class to managing unordered collection of blocks/extents. Sometimes it's useful to have an unordered collection of ranges and manipulate them. For example, we may want to do set subtraction on two collections of extents. This class helps facilitate that. BUG=7294 TEST=attached unittest Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=5fdae4a

Patch Set 1 #

Total comments: 68

Patch Set 2 : fixes for review #

Patch Set 3 : unittest whitespace fix #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+532 lines, -1 line) Patch
M SConstruct View 1 3 chunks +3 lines, -1 line 0 comments Download
A extent_ranges.h View 1 chunk +73 lines, -0 lines 4 comments Download
A extent_ranges.cc View 1 chunk +219 lines, -0 lines 0 comments Download
A extent_ranges_unittest.cc View 2 1 chunk +237 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
adlr
10 years, 2 months ago (2010-10-02 00:06:05 UTC) #1
petkov
http://codereview.chromium.org/3604005/diff/1/3 File ranges.cc (right): http://codereview.chromium.org/3604005/diff/1/3#newcode1 ranges.cc:1: // Copyright (c) 2010 The Chromium Authors. All rights ...
10 years, 2 months ago (2010-10-04 17:43:34 UTC) #2
adlr
thanks for the review. ptal http://codereview.chromium.org/3604005/diff/1/3 File ranges.cc (right): http://codereview.chromium.org/3604005/diff/1/3#newcode1 ranges.cc:1: // Copyright (c) 2010 ...
10 years, 2 months ago (2010-10-05 03:07:13 UTC) #3
petkov
LGTM http://codereview.chromium.org/3604005/diff/9001/8006 File extent_ranges.h (right): http://codereview.chromium.org/3604005/diff/9001/8006#newcode5 extent_ranges.h:5: #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_RANGES_H__ CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_RANGES_H__ http://codereview.chromium.org/3604005/diff/9001/8006#newcode25 extent_ranges.h:25: { move { ...
10 years, 2 months ago (2010-10-05 05:56:26 UTC) #4
adlr
10 years, 2 months ago (2010-10-05 17:47:59 UTC) #5
thanks! fixed and committed

http://codereview.chromium.org/3604005/diff/9001/8006
File extent_ranges.h (right):

http://codereview.chromium.org/3604005/diff/9001/8006#newcode5
extent_ranges.h:5: #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_RANGES_H__
On 2010/10/05 05:56:26, petkov wrote:
> CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_RANGES_H__
> 

Done.

http://codereview.chromium.org/3604005/diff/9001/8006#newcode25
extent_ranges.h:25: {
On 2010/10/05 05:56:26, petkov wrote:
> move { to the previous line
> 

Done.

Powered by Google App Engine
This is Rietveld 408576698