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

Issue 794003: AU: Topological Sort. (Closed)

Created:
10 years, 9 months ago by adlr
Modified:
9 years ago
Reviewers:
Daniel Erat
CC:
chromium-os-reviews_googlegroups.com
Visibility:
Public.

Description

AU: Topological Sort.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -0 lines) Patch
M src/platform/update_engine/SConstruct View 2 chunks +2 lines, -0 lines 0 comments Download
A src/platform/update_engine/topological_sort.h View 1 chunk +30 lines, -0 lines 0 comments Download
A src/platform/update_engine/topological_sort.cc View 1 chunk +39 lines, -0 lines 2 comments Download
A src/platform/update_engine/topological_sort_unittest.cc View 1 chunk +81 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
adlr
10 years, 9 months ago (2010-03-11 00:40:36 UTC) #1
Daniel Erat
LGTM Finally, an algorithm that I know. :-P http://codereview.chromium.org/794003/diff/1/3 File src/platform/update_engine/topological_sort.cc (right): http://codereview.chromium.org/794003/diff/1/3#newcode14 src/platform/update_engine/topological_sort.cc:14: void ...
10 years, 9 months ago (2010-03-11 01:31:49 UTC) #2
adlr
10 years, 9 months ago (2010-03-11 04:12:08 UTC) #3
fixed and submitted. thanks!

http://codereview.chromium.org/794003/diff/1/3
File src/platform/update_engine/topological_sort.cc (right):

http://codereview.chromium.org/794003/diff/1/3#newcode14
src/platform/update_engine/topological_sort.cc:14: void
TopologicalSortVisit(const Graph& graph,
On 2010/03/11 01:31:49, Daniel Erat wrote:
> make this function static

did namespace {}

http://codereview.chromium.org/794003/diff/1/5
File src/platform/update_engine/topological_sort_unittest.cc (right):

http://codereview.chromium.org/794003/diff/1/5#newcode8
src/platform/update_engine/topological_sort_unittest.cc:8: #include
"chromeos/obsolete_logging.h"
On 2010/03/11 01:31:49, Daniel Erat wrote:
> you don't need this include, do you?  (noticed because i just removed
> libchromeos as a dependency for the window manager)

removed

Powered by Google App Engine
This is Rietveld 408576698