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

Side by Side Diff: build/android/pylib/utils/logdog_helper.py

Issue 2786773002: (Reland) Add failure screenshots and images to results detail. (Closed)
Patch Set: (Reland) Add failure screenshots and images to results detail. Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Helper functions to upload data to logdog.""" 5 """Helper functions to upload data to logdog."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 import sys 9 import sys
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 Returns: 75 Returns:
76 Link to view uploaded binary in logdog viewer. 76 Link to view uploaded binary in logdog viewer.
77 """ 77 """
78 return get_logdog_client().get_viewer_url(name) 78 return get_logdog_client().get_viewer_url(name)
79 79
80 80
81 @decorators.Memoize 81 @decorators.Memoize
82 def get_logdog_client(): 82 def get_logdog_client():
83 logging.info('Getting logdog client.') 83 logging.info('Getting logdog client.')
84 return bootstrap.ButlerBootstrap.probe().stream_client() 84 return bootstrap.ButlerBootstrap.probe().stream_client()
85
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698