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/loading_model.py

Issue 1633813005: tools/android/loading: Add support for multiple redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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
Index: tools/android/loading/loading_model.py
diff --git a/tools/android/loading/loading_model.py b/tools/android/loading/loading_model.py
index 155da1ddf8ef201e5e732a8abe6e93c148dc2fd8..75da620423bf79f6d430a1b2fb533df95472bebf 100644
--- a/tools/android/loading/loading_model.py
+++ b/tools/android/loading/loading_model.py
@@ -244,6 +244,8 @@ class ResourceGraph(object):
for s in n.Successors():
style = 'color = orange'
annotations = self._EdgeAnnotation(n, s)
+ if 'redirect' in annotations:
+ style = 'color = black'
if 'parser' in annotations:
blundell 2016/01/26 13:23:44 should this be an elif?
Benoit L 2016/01/26 13:40:47 Indeed, thanks! Done.
style = 'color = red'
elif 'stack' in annotations:
« no previous file with comments | « no previous file | tools/android/loading/loading_model_unittest.py » ('j') | tools/android/loading/request_dependencies_lens.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698