dpwa: Fix WebAppDataRetriever::GetWebApplicationInfo().
Sometimes last_committed_nav_entry_unique_id != entry->GetUniqueID() in WebAppDataRetriever::OnGetWebApplicationInfo() which resulted in kGetWebApplicationInfoFailed. And kGetWebApplicationInfoFailed is a showstopper: generated icons. WebAppDataRetriever::GetWebApplicationInfo() should return some initial info to unblock CheckInstallabilityAndRetrieveManifest() stage. This CL doesn't introduce significant behavior changes. It returns non-nullptr info for the `entry->GetUniqueID() != last_committed_nav_entry_unique_id` edge case. Bug: 1093251 Change-Id: Ia3bbcbdf229a3c74fc93f173892ebec404a2fc36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2239727 Commit-Queue: Alexey Baskakov <loyso@chromium.org> Reviewed-by:Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#776897}
Showing
Please register or sign in to comment