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

Unified Diff: Tools/GardeningServer/model/ct-builder-revisions.html

Issue 410483002: Add the revision details widget to sheriff-o-matic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Spaces in the curlies! 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
« no previous file with comments | « no previous file | Tools/GardeningServer/model/ct-builder-revisions-mock.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/model/ct-builder-revisions.html
diff --git a/Tools/GardeningServer/model/ct-builder-revisions.html b/Tools/GardeningServer/model/ct-builder-revisions.html
new file mode 100644
index 0000000000000000000000000000000000000000..9e634367fed65720c54620388454ec4637d5e1ac
--- /dev/null
+++ b/Tools/GardeningServer/model/ct-builder-revisions.html
@@ -0,0 +1,20 @@
+<!--
+Copyright 2014 The Chromium Authors. All rights reserved.
+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.html'>
+
+<script>
+
+// A simple map of builder to latest processed revision.
+// FIXME: Stop special casing blink.
+function CTBuilderRevisions(builderData) {
+ Object.keys(builderData, function(builder, revisions) {
+ this[builder] = CTCommit.createIncomplete('http://src.chromium.org/viewvc/blink?rev={revision}',
+ parseInt(revisions['blink'], 10), 'blink');
+ }.bind(this));
+}
+
+</script>
« no previous file with comments | « no previous file | Tools/GardeningServer/model/ct-builder-revisions-mock.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698