| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 * @fileoverview Utility functions for the Bookmarks page. | 6 * @fileoverview Utility functions for the Bookmarks page. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 cr.define('bookmarks.util', function() { | 9 cr.define('bookmarks.util', function() { |
| 10 /** | 10 /** |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 } | 88 } |
| 89 return false; | 89 return false; |
| 90 } | 90 } |
| 91 | 91 |
| 92 return { | 92 return { |
| 93 createEmptyState: createEmptyState, | 93 createEmptyState: createEmptyState, |
| 94 getDisplayedList: getDisplayedList, | 94 getDisplayedList: getDisplayedList, |
| 95 hasChildFolders: hasChildFolders, | 95 hasChildFolders: hasChildFolders, |
| 96 isShowingSearch: isShowingSearch, | 96 isShowingSearch: isShowingSearch, |
| 97 normalizeNodes: normalizeNodes, | 97 normalizeNodes: normalizeNodes, |
| 98 ROOT_NODE_ID: '0', | |
| 99 }; | 98 }; |
| 100 }); | 99 }); |
| OLD | NEW |