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

Unified Diff: tools/android/loading/dependency_graph.py

Issue 1837193002: Clovis: update resource sack to use new dependency graph. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 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 | « tools/android/loading/core_set.py ('k') | tools/android/loading/graph.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/loading/dependency_graph.py
diff --git a/tools/android/loading/dependency_graph.py b/tools/android/loading/dependency_graph.py
index 23285cca695d7f0b96120599215e5eec68cc9897..be2c5e0d04d331cbbfb027ac750e507cf21fedd7 100644
--- a/tools/android/loading/dependency_graph.py
+++ b/tools/android/loading/dependency_graph.py
@@ -46,6 +46,11 @@ class RequestDependencyGraph(object):
self._first_request_node = self._nodes_by_id[self._requests[0].request_id]
self._deps_graph = graph.DirectedGraph(self._nodes_by_id.values(), edges)
+ @property
+ def graph(self):
+ """Return the Graph we're based on."""
+ return self._deps_graph
+
def UpdateRequestsCost(self, request_id_to_cost):
"""Updates the cost of the nodes identified by their request ID.
« no previous file with comments | « tools/android/loading/core_set.py ('k') | tools/android/loading/graph.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698