Fix the issue while clicking on offline page donwload notification
When OfflinePageDownloadBridge is created, it will load all the offline page items. However, openItem() can get called before all page items are loaded. This causes the native side unable to find the downloaded item. As a result, nothing happens when user clicks offline page download success notification. This CL waits for all the page items to get loaded before calling openItem(). BUG=640467 Review-Url: https://codereview.chromium.org/2272883004 Cr-Commit-Position: refs/heads/master@{#414317}
Showing
Please register or sign in to comment