Chromium Code Reviews| 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, |