Home | History | Annotate | Download | only in model
      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 <link rel="import" href="ct-builder-list.html">
      8 
      9 <script>
     10 function CTBuilderFailureGroupData(failure, bot, url) {
     11   this.bot = bot;
     12   this.failure = failure;
     13   this.url = url;
     14   this.builder = new CTBuilder(failure.masterUrl, failure.builder);
     15   this.category = 'builder';
     16 };
     17 
     18 CTBuilderFailureGroupData.prototype.getAnnotations = function() {
     19   // FIXME: Merge in annotations! crbug.com/413499
     20   return [];
     21 };
     22 
     23 CTBuilderFailureGroupData.prototype.failureKeys = function() {
     24   return [this.failure.key];
     25 };
     26 </script>
     27