OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. |
| 5 --> |
| 6 |
| 7 <script> |
| 8 function CTBuilderFailureGroupData(failure, bot, url) { |
| 9 this.bot = bot; |
| 10 this.failure = failure; |
| 11 this.category = 'builder'; |
| 12 this.url = url; |
| 13 }; |
| 14 |
| 15 CTBuilderFailureGroupData.prototype.getAnnotations = function() { |
| 16 return [this.failure.annotations()]; |
| 17 }; |
| 18 |
| 19 // FIXME: This function should be replaced and callers should just pass the orig
inal object. |
| 20 CTBuilderFailureGroupData.prototype.dataToExamine = function() { |
| 21 return {url: this.url}; |
| 22 }; |
| 23 |
| 24 CTBuilderFailureGroupData.prototype.failureKeys = function() { |
| 25 return [this.failure.keys()]; |
| 26 }; |
| 27 </script> |
OLD | NEW |