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

Unified Diff: appengine_apps/trooper_o_matic/lib/cqstats-util.html

Issue 774323002: Moved trooper_o_matic to appengine/ (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years 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 | « appengine_apps/trooper_o_matic/karma.conf.js ('k') | appengine_apps/trooper_o_matic/lib/dygraph.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine_apps/trooper_o_matic/lib/cqstats-util.html
diff --git a/appengine_apps/trooper_o_matic/lib/cqstats-util.html b/appengine_apps/trooper_o_matic/lib/cqstats-util.html
deleted file mode 100644
index da5d034fe3b9a6caac76ff596bec8f5e879496b4..0000000000000000000000000000000000000000
--- a/appengine_apps/trooper_o_matic/lib/cqstats-util.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!--
-Copyright (c) 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="../lib/sugar.html">
-
-<script>
-var cqStatsUtil = cqStatsUtil || {};
-
-(function() {
-var cqLogHost = 'https://chromium-cq-status.appspot.com';
-
-cqStatsUtil.loadStats = function(project, intervalMinutes, names, count) {
- var url = '{1}/stats/query?{2}'.assign(cqLogHost, Object.toQueryString({
- project: project,
- interval_minutes: intervalMinutes,
- names: names.join(','),
- count: count,
- }));
- return net.json({url: url}).then(function(json) {
- return json.results.reverse();
- });
-};
-
-cqStatsUtil.loadStatItems = function(statName, cqStatsKey) {
- var url = '{1}/stats/highest/{2}/{3}'.assign(cqLogHost, statName, cqStatsKey);
- return net.json({url: url, cache: true});
-};
-
-cqStatsUtil.namedStat = function(name, cqStats) {
- return cqStats.stats.find(function(stat) {
- return stat.name === name;
- });
-};
-})();
-</script>
« no previous file with comments | « appengine_apps/trooper_o_matic/karma.conf.js ('k') | appengine_apps/trooper_o_matic/lib/dygraph.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698