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

Side by Side Diff: Tools/GardeningServer/model/ct-builder-failure-group-data.html

Issue 565523002: [Sheriff-o-matic] Refactor cards and get rid of ct-failure-cards (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ToT-ed 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Tools/GardeningServer/model/ct-sheriff-failure-group-data.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <link rel="import" href="ct-builder-list.html">
8
7 <script> 9 <script>
8 function CTBuilderFailureGroupData(failure, bot, url) { 10 function CTBuilderFailureGroupData(failure, bot, url) {
9 this.bot = bot; 11 this.bot = bot;
10 this.failure = failure; 12 this.failure = failure;
13 this.url = url;
14 this.builderList = new CTBuilderList(failure);
11 this.category = 'builder'; 15 this.category = 'builder';
12 this.url = url;
13 }; 16 };
14 17
15 CTBuilderFailureGroupData.prototype.getAnnotations = function() { 18 CTBuilderFailureGroupData.prototype.getAnnotations = function() {
16 return [this.failure.annotations()]; 19 return [this.failure.annotations()];
17 }; 20 };
18 21
19 // FIXME: This function should be replaced and callers should just pass the orig inal object. 22 // FIXME: This function should be replaced and callers should just pass the orig inal object.
20 CTBuilderFailureGroupData.prototype.dataToExamine = function() { 23 CTBuilderFailureGroupData.prototype.dataToExamine = function() {
21 return {url: this.url}; 24 return {url: this.url};
22 }; 25 };
23 26
24 CTBuilderFailureGroupData.prototype.failureKeys = function() { 27 CTBuilderFailureGroupData.prototype.failureKeys = function() {
25 return [this.failure.keys()]; 28 return [this.failure.keys()];
26 }; 29 };
27 </script> 30 </script>
OLDNEW
« no previous file with comments | « no previous file | Tools/GardeningServer/model/ct-sheriff-failure-group-data.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698