WebApp: Rename InstallWebAppFromSync to InstallBookmarkAppFromSync.
1) Rename InstallManager::InstallWebAppFromSync to InstallBookmarkAppFromSync. 2) Move the check we introduced here: https://chromium-review.googlesource.com/c/chromium/src/+/1981239 to WebAppInstallManager::InstallBookmarkAppFromSync() so web apps team owns it. 3) Demote DCHECK(provider) to if(provider) to avoid crashes for legacy or bizarre profiles with bookmark apps data in them. If you try to run chromeos-on-linux binary for a profile data dir created by chrome-linux binary, you get the "bizarre" profile. This CL doesn't introduce any behavior changes. We will implement migration of bookmark apps arriving from the sync server in follow up CLs under crbug.com/1020037 task. Bug: 1020037 Change-Id: Ic7861734b6bbcb9fe228eb513782251ba8b4ff32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2060220Reviewed-by:Finnur Thorarinsson <finnur@chromium.org> Reviewed-by:
Alan Cutter <alancutter@chromium.org> Commit-Queue: Alexey Baskakov <loyso@chromium.org> Cr-Commit-Position: refs/heads/master@{#742867}
Showing
Please register or sign in to comment