OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 * Represents a record in the tree status database. | 6 * Represents a record in the tree status database. |
7 * | 7 * |
8 * @param {int} timestamp Unix timestamp in milliseconds. | 8 * @param {int} timestamp Unix timestamp in milliseconds. |
9 * @param {string} author | 9 * @param {string} author |
10 * @param {string} message | 10 * @param {string} message |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 timeRange.startTime : runs[runs.length - 1].GetEndTime(); | 184 timeRange.startTime : runs[runs.length - 1].GetEndTime(); |
185 if (lastEndTime != timeRange.endTime) { | 185 if (lastEndTime != timeRange.endTime) { |
186 var unknownEntry = new Entry(timeRange.endTime, Entry.AUTHOR_ORACLE, | 186 var unknownEntry = new Entry(timeRange.endTime, Entry.AUTHOR_ORACLE, |
187 "Missing data!", "unknown"); | 187 "Missing data!", "unknown"); |
188 runs.push(new Run(unknownEntry, lastEndTime, | 188 runs.push(new Run(unknownEntry, lastEndTime, |
189 lastEndTime - timeRange.endTime)); | 189 lastEndTime - timeRange.endTime)); |
190 } | 190 } |
191 | 191 |
192 return runs; | 192 return runs; |
193 } | 193 } |
OLD | NEW |