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

Unified Diff: tools/android/loading/cloud/common/clovis_task.py

Issue 1962283002: tools/android/loading Support "report" tasks in the Clovis frontend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@report
Patch Set: Created 4 years, 7 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/cloud/common/clovis_task.py
diff --git a/tools/android/loading/cloud/common/clovis_task.py b/tools/android/loading/cloud/common/clovis_task.py
index 20a5182c575c19915caa574914da7c64fb14407c..1cc5979c66a1680e10cc68fd43aeab149cdc5b69 100644
--- a/tools/android/loading/cloud/common/clovis_task.py
+++ b/tools/android/loading/cloud/common/clovis_task.py
@@ -41,7 +41,7 @@ class ClovisTask(object):
action = data['action']
action_params = data['action_params']
# Vaidate the format.
- if action == 'trace':
+ if action == 'trace' or action == 'report':
urls = action_params['urls']
if (type(urls) is not list) or (len(urls) == 0):
return None
« no previous file with comments | « no previous file | tools/android/loading/cloud/frontend/README.md » ('j') | tools/android/loading/cloud/frontend/README.md » ('J')

Powered by Google App Engine
This is Rietveld 408576698