OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <script> | 7 <script> |
8 function CTTrooperFailureGroupData(details, url, raw, type, tree) { | 8 function CTTrooperFailureGroupData(details, url, raw, type, tree) { |
9 this.details = details; | 9 this.details = details; |
10 this.url = url; | 10 this.url = url; |
11 this.data = raw; | 11 this.data = raw; |
12 this.type = type; | 12 this.type = type; |
13 this.tree = tree; | 13 this.tree = tree; |
| 14 this.category = 'trooper'; |
14 }; | 15 }; |
15 | 16 |
16 CTTrooperFailureGroupData.prototype.getAnnotations = function() { | 17 CTTrooperFailureGroupData.prototype.getAnnotations = function() { |
17 return []; | 18 return []; |
18 }; | 19 }; |
19 | 20 |
20 CTTrooperFailureGroupData.prototype.dataToExamine = function() { | 21 CTTrooperFailureGroupData.prototype.dataToExamine = function() { |
21 return {url: this.url}; | 22 return {url: this.url}; |
22 }; | 23 }; |
23 | 24 |
24 CTTrooperFailureGroupData.prototype.failureKeys = function() { | 25 CTTrooperFailureGroupData.prototype.failureKeys = function() { |
25 return []; | 26 return []; |
26 }; | 27 }; |
27 </script> | 28 </script> |
OLD | NEW |