-
Rachel Carpenter authored
This reverts (part of) commit 6c131c38. Reason for revert: pak file got wrongly included Original change's description: > Use common App Service profile checks for incognito redirect. > > https://crrev.com/c/2318888 added a "GetOriginalProfile" call to fix a > crash in incognito. Unfortunally that introduced a new crash for Guest > sessions. GetOriginalProfile() returns something that crashes when > trying to open a browser - see https://crbug.com/1121553. Add a new > method to AppService to handle the profile redirects correctly and in a > single place. > > Also adds more tests. > > Bug: 1122480 > Change-Id: I63e3d2766d61b416d1e7590bc67a937b817848ed > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2381230 > Reviewed-by: Dominick Ng <dominickn@chromium.org> > Reviewed-by: Trent Apted <tapted@chromium.org> > Commit-Queue: Rachel Carpenter <carpenterr@chromium.org> > Cr-Commit-Position: refs/heads/master@{#803399} TBR=tapted@chromium.org,dominickn@chromium.org,carpenterr@chromium.org Change-Id: If4f71581eddd4cffbd4a61ccef6bdee9f3c891f3 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1122480 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386909 Commit-Queue: Rachel Carpenter <carpenterr@chromium.org> Reviewed-by:
Rachel Carpenter <carpenterr@chromium.org> Cr-Commit-Position: refs/heads/master@{#803410}
16e1f095