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

Unified Diff: Tools/GardeningServer/model/ct-failure-group.html

Issue 464963003: Move commit list out its own model. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/model/ct-failure-group.html
diff --git a/Tools/GardeningServer/model/ct-failure-group.html b/Tools/GardeningServer/model/ct-failure-group.html
index 470950c13b8c09a4c2f1394f9d9e460281ddbb73..bf6b63e8f2b38fe3e067e6b75fbafffcac6e652d 100644
--- a/Tools/GardeningServer/model/ct-failure-group.html
+++ b/Tools/GardeningServer/model/ct-failure-group.html
@@ -4,6 +4,8 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
+<link rel="import" href="ct-commit-list.html">
+
<script>
function CTFailureGroup(key, failures, annotation) {
this.key = key;
@@ -24,6 +26,10 @@ CTFailureGroup.prototype.unsnooze = function() {
});
};
+CTFailureGroup.prototype.commitList = function(commits) {
+ return new CTCommitList(this, commits);
+};
+
CTFailureGroup.prototype._computeProperties = function() {
this.isSnoozed = Date.now() < this.annotation.snoozeTime;
if (this.isSnoozed) {

Powered by Google App Engine
This is Rietveld 408576698