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

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

Issue 476903004: [sheriff-o-matic]: Basic trooper display for sheriff-o-matic. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Tools/GardeningServer/model/ct-failure-group.html
diff --git a/Tools/GardeningServer/model/ct-failure-group.html b/Tools/GardeningServer/model/ct-failure-group.html
index 812a2a5efaac998e5f0e7996e3e8759402c5198c..b583a109000c2b94d4a16612847511baada9b176 100644
--- a/Tools/GardeningServer/model/ct-failure-group.html
+++ b/Tools/GardeningServer/model/ct-failure-group.html
@@ -14,8 +14,19 @@ function CTFailureGroup(failures, commitList) {
return failure.annotations();
}).flatten());
this._computeProperties();
+ this.type = 'sheriff';
}
+function CTTrooperFailureGroup(data, type, tree, annotation) {
ojan 2014/09/02 02:35:11 Rather than using inheritance for this, in other p
shans 2014/09/04 01:59:42 Done.
+ this.data = data;
+ this._annotation = annotation || {};
+ this._computeProperties();
+ this.type = type;
+ this.tree = tree;
+}
+
+CTTrooperFailureGroup.prototype = CTFailureGroup.prototype;
+
CTFailureGroup.prototype.snoozeUntil = function(time) {
return this._annotate({
snoozeTime: time,
« no previous file with comments | « no previous file | Tools/GardeningServer/model/ct-failures.html » ('j') | Tools/GardeningServer/model/ct-failures.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698