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

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

Issue 476903004: [sheriff-o-matic]: Basic trooper display for sheriff-o-matic. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
OLDNEW
(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 <link rel="import" href="ct-commit-list.html">
8
9 <script>
10 function CTSheriffFailureGroupData(failures, commitList) {
11 this.failures = failures;
12 this.commitList = commitList;
13 this.type = 'sheriff';
14 };
15
16 CTSheriffFailureGroupData.prototype.getAnnotations = function() {
17 return this.failures.map(function(failure) {
18 return failure.annotations();
19 }).flatten();
20 };
21
22 CTSheriffFailureGroupData.prototype.dataToExamine = function() {
23 return this.failures;
24 };
25
26 CTSheriffFailureGroupData.prototype.failureKeys = function() {
27 return this.failures.map(function(failure) {
28 return failure.keys();
29 }).flatten();
30 };
31 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/model/ct-failures.html ('k') | Tools/GardeningServer/model/ct-tree-list.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698