Separate out AppShimHost::Client interface from AppShimHandler
AppShimHost repeatedly queries AppShimHandler::Get to call out of itself. In practice, these always go to the ExtensionAppShimHandler that owns the AppShimHost. Remove these functions from AppShimHandler and put them in the AppShimHost::Client interface. Make the AppShimHost take a Client at creation time (which is safe, now that AppShimHost is owned by ExtensionAppShimHandler). Document that this is the interface between AppShimHost and ExtensionAppShimHandler. Bug: 982024 Change-Id: I954ce6f639596c4c930b701ed9770258852d0e58 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1772667 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#691037}
Showing
Please register or sign in to comment