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

Unified Diff: Tools/GardeningServer/model/ct-builder-failure-group-data.html

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address nits. Created 6 years, 3 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/GardeningServer/model/ct-builder.html ('k') | Tools/GardeningServer/model/ct-builder-list.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/model/ct-builder-failure-group-data.html
diff --git a/Tools/GardeningServer/model/ct-builder-failure-group-data.html b/Tools/GardeningServer/model/ct-builder-failure-group-data.html
new file mode 100644
index 0000000000000000000000000000000000000000..28d22f041fc56ed5b261996fc092878f56e9c05a
--- /dev/null
+++ b/Tools/GardeningServer/model/ct-builder-failure-group-data.html
@@ -0,0 +1,27 @@
+<!--
+Copyright 2014 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+
+<script>
+function CTBuilderFailureGroupData(failure, bot, url) {
+ this.bot = bot;
+ this.failure = failure;
+ this.category = 'builder';
+ this.url = url;
+};
+
+CTBuilderFailureGroupData.prototype.getAnnotations = function() {
+ return [this.failure.annotations()];
+};
+
+// FIXME: This function should be replaced and callers should just pass the original object.
+CTBuilderFailureGroupData.prototype.dataToExamine = function() {
+ return {url: this.url};
+};
+
+CTBuilderFailureGroupData.prototype.failureKeys = function() {
+ return [this.failure.keys()];
+};
+</script>
« no previous file with comments | « Tools/GardeningServer/model/ct-builder.html ('k') | Tools/GardeningServer/model/ct-builder-list.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698