Split AppBannerManager::Stop() into two methods.
This means that ReportStatus is only called in one place (apart from AppBannerManagerDesktop::ShowBannerUi), making it easier to verify that it is called the appropriate number of times. It also removes the need for hacks such as pre-updating the state to COMPLETE in AppBannerManager::DisplayAppBanner. Bug: 770016 Change-Id: Iedf93b7a3c6c211b2188032259906bd49bcd4555 Reviewed-on: https://chromium-review.googlesource.com/691494 Commit-Queue: Michael McGreevy <mcgreevy@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#505334}
Showing
Please register or sign in to comment