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

Side by Side Diff: appengine/chromium_status/static/js/status_viewer/data_fetcher.js

Issue 778533003: Moved chromium_status 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 /** 5 /**
6 * Helper that fetches the tree status data from a server. 6 * Helper that fetches the tree status data from a server.
7 * 7 *
8 * The public method it exports is: 8 * The public method it exports is:
9 * DataFetcher.GetTreeStatusEntries(timeRange, callback) method. 9 * DataFetcher.GetTreeStatusEntries(timeRange, callback) method.
10 */ 10 */
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 function OnFetchedDataComplete(callback, text, error) { 112 function OnFetchedDataComplete(callback, text, error) {
113 var entries = []; 113 var entries = [];
114 var ok = ParseDataResponseAndAppend(entries, text, error); 114 var ok = ParseDataResponseAndAppend(entries, text, error);
115 // TODO(eroman): Fix login situation. 115 // TODO(eroman): Fix login situation.
116 if (!ok) 116 if (!ok)
117 alert("TODO: You probably aren't logged in; try doing that first."); 117 alert("TODO: You probably aren't logged in; try doing that first.");
118 callback(entries); 118 callback(entries);
119 } 119 }
120 120
121 })(); // Private implementation. 121 })(); // Private implementation.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698