| 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 /** | 5 /** |
| 6 * @typedef {{hasChildren: boolean, | 6 * @typedef {{hasChildren: boolean, |
| 7 * id: string, | 7 * id: string, |
| 8 * idPath: string, |
| 8 * title: string, | 9 * title: string, |
| 9 * totalUsage: string, | 10 * totalUsage: string, |
| 10 * type: string}} | 11 * type: string}} |
| 11 */ | 12 */ |
| 12 var CookieDetails; | 13 var CookieDetails; |
| 13 | 14 |
| 14 /** | 15 /** |
| 15 * @typedef {{content: string, | 16 * @typedef {{content: string, |
| 16 * label: string}} | 17 * label: string}} |
| 17 */ | 18 */ |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 if (data[key].length > 0) { | 83 if (data[key].length > 0) { |
| 83 var entry = /** @type {CookieDataForDisplay} */({ | 84 var entry = /** @type {CookieDataForDisplay} */({ |
| 84 label: loadTimeData.getString(field[1]), | 85 label: loadTimeData.getString(field[1]), |
| 85 content: data[key], | 86 content: data[key], |
| 86 }); | 87 }); |
| 87 out.push(entry); | 88 out.push(entry); |
| 88 } | 89 } |
| 89 } | 90 } |
| 90 return out; | 91 return out; |
| 91 }; | 92 }; |
| OLD | NEW |