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

Side by Side Diff: appengine/chromium_cq_status/js/recent.js

Issue 2111713004: Teach CQ status app to check login status of users. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Review and tests. Created 4 years, 5 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Variables for console Javascript access to the currently visible/selected rec ords. 5 // Variables for console Javascript access to the currently visible/selected rec ords.
6 var records = []; 6 var records = [];
7 var selectedRecords = []; 7 var selectedRecords = [];
8 8
9 var recentModule = (function(){ 9 var recentModule = (function(){
10 'use strict'; 10 'use strict';
11 11
12 var indexSelected = {}; 12 var indexSelected = {};
13 var logServer = '//chromium-cq-status.appspot.com'; 13 var logServer = '//' + window.location.host;
14 var tags = []; 14 var tags = [];
15 var cursor; 15 var cursor;
16 var table; 16 var table;
17 var loadMore; 17 var loadMore;
18 var loading; 18 var loading;
19 // Provide access to imported DOM in tests. 19 // Provide access to imported DOM in tests.
20 // In production, currentDocument == document. 20 // In production, currentDocument == document.
21 var currentScript = document._currentScript || document.currentScript; 21 var currentScript = document._currentScript || document.currentScript;
22 var currentDocument = currentScript.ownerDocument; 22 var currentDocument = currentScript.ownerDocument;
23 23
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 return { 251 return {
252 'main': main, 252 'main': main,
253 // Export methods for tests. 253 // Export methods for tests.
254 'init': init, 254 'init': init,
255 'processJSON': processJSON, 255 'processJSON': processJSON,
256 'document': currentDocument, 256 'document': currentDocument,
257 }; 257 };
258 258
259 })(); 259 })();
260 260
OLDNEW
« no previous file with comments | « appengine/chromium_cq_status/js/patch_status.js ('k') | appengine/chromium_cq_status/js/stats_viewer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698