| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // Globals: | 5 // Globals: |
| 6 /** @const */ var RESULTS_PER_PAGE = 150; | 6 /** @const */ var RESULTS_PER_PAGE = 150; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * Amount of time between pageviews that we consider a 'break' in browsing, | 9 * Amount of time between pageviews that we consider a 'break' in browsing, |
| 10 * measured in milliseconds. | 10 * measured in milliseconds. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // Types: | 32 // Types: |
| 33 /** | 33 /** |
| 34 * @typedef {{groupedOffset: number, | 34 * @typedef {{groupedOffset: number, |
| 35 * incremental: boolean, | 35 * incremental: boolean, |
| 36 * querying: boolean, | 36 * querying: boolean, |
| 37 * range: HistoryRange, | 37 * range: HistoryRange, |
| 38 * searchTerm: string}} | 38 * searchTerm: string}} |
| 39 */ | 39 */ |
| 40 var QueryState; | 40 var QueryState; |
| 41 |
| 42 /** |
| 43 * @typedef {{info: ?HistoryQuery, |
| 44 * results: ?Array<!HistoryEntry>, |
| 45 * sessionList: ?Array<!ForeignSession>}} |
| 46 */ |
| 47 var QueryResult; |
| OLD | NEW |