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

Unified Diff: src/platform/update_engine/topological_sort.cc

Issue 891002: AU: Delta Diff Generator (Closed)
Patch Set: fixes for review Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/update_engine/test_utils.cc ('k') | src/platform/update_engine/utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/update_engine/topological_sort.cc
diff --git a/src/platform/update_engine/topological_sort.cc b/src/platform/update_engine/topological_sort.cc
index 2e341448312ea05098ece360dbc0522ead6c5ad7..8422849c7d84e92813c45a7adea674da5e5090bd 100644
--- a/src/platform/update_engine/topological_sort.cc
+++ b/src/platform/update_engine/topological_sort.cc
@@ -5,6 +5,7 @@
#include "update_engine/topological_sort.h"
#include <set>
#include <vector>
+#include "base/logging.h"
using std::set;
using std::vector;
@@ -26,6 +27,8 @@ void TopologicalSortVisit(const Graph& graph,
TopologicalSortVisit(graph, visited_nodes, nodes, it->first);
}
// Visit this node.
+ LOG(INFO) << graph[node].file_name << " " << graph[node].op.type() << " "
+ << graph[node].op.data_length();
nodes->push_back(node);
}
} // namespace {}
« no previous file with comments | « src/platform/update_engine/test_utils.cc ('k') | src/platform/update_engine/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698