WebApps: Fix profile-type related issues for Web App keyed services. |
||
Issue descriptionWe have many types of guest profiles which may lead to crashes like this: https://bugs.chromium.org/p/chromium/issues/detail?id=918786 Fix presence and absence of WebApp-related keyed services on various profile types. Use go/chromium-profile-types as a guidance. Serivices include: WebAppProdvider, WebAppMetrics, Android SMS, External Apps, System Web Apps, Site Engagement etc.
,
Jan 15
We don't use AllowWebAppInstallation everywhere where it could be a util function. For simplicity reasons, I wanted to use AllowWebAppInstallation in all GetServiceForContext factory functions to filter out guest/incognito/system/chromeos etc profiles. And than, "fork" two more separate functions. Overall, agreed that we may need up to 3 functions for that.
,
Jan 17
(5 days ago)
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9d0133c85356fd992054d00e323e861c8e300267 commit 9d0133c85356fd992054d00e323e861c8e300267 Author: Alexey Baskakov <loyso@chromium.org> Date: Thu Jan 17 08:27:20 2019 WebApp: Add DCHECKs to web application launch logic. If there is no WebAppProvider for profile then there is no WebAppTabHelper. Make sure that WebAppTabHelper exists if we launch a WebApp. Bug: 921468 Change-Id: Ib08527f8a42c5dce87ad64de83bbfe10afd41fef Reviewed-on: https://chromium-review.googlesource.com/c/1414411 Reviewed-by: Ben Wells <benwells@chromium.org> Commit-Queue: Alexey Baskakov <loyso@chromium.org> Cr-Commit-Position: refs/heads/master@{#623618} [modify] https://crrev.com/9d0133c85356fd992054d00e323e861c8e300267/chrome/browser/ui/extensions/application_launch.cc
,
Jan 18
(5 days ago)
|
||
►
Sign in to add a comment |
||
Comment 1 by benwells@chromium.org
, Jan 15