Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Issue 2957523003: Start banner pipeline immediately after navigating, if enough engagement (Closed)

Created:
3 years, 6 months ago by benwells
Modified:
3 years, 6 months ago
Reviewers:
dominickn
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Start banner pipeline immediately after navigating, if enough engagement Previously if a site had already earned enough engagement and was navigated to, the banner pipeline would not be triggered until further engagement was earned. With this change it will trigger immediately. This could result in slight changes of behavior if sites are holding on to the beforeinstallprompt event and using it to enable certain parts of the UI (for example a button). This change also tweaks some conditions in tests for changes in the underlying state machine. BUG=729919 Review-Url: https://codereview.chromium.org/2957523003 Cr-Commit-Position: refs/heads/master@{#482115} Committed: https://chromium.googlesource.com/chromium/src/+/8d9f82995bc634440aed9ec773861dc376b08e70

Patch Set 1 #

Total comments: 4

Patch Set 2 : Feedback #

Patch Set 3 : Simpler per Dom's suggestion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -13 lines) Patch
M chrome/browser/banners/app_banner_manager.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/banners/app_banner_manager_browsertest.cc View 11 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 29 (16 generated)
benwells
3 years, 6 months ago (2017-06-23 04:46:57 UTC) #5
dominickn
https://codereview.chromium.org/2957523003/diff/1/chrome/browser/banners/app_banner_manager.cc File chrome/browser/banners/app_banner_manager.cc (right): https://codereview.chromium.org/2957523003/diff/1/chrome/browser/banners/app_banner_manager.cc#newcode437 chrome/browser/banners/app_banner_manager.cc:437: SiteEngagementService::Get( This is called quite a lot. Instead, just ...
3 years, 6 months ago (2017-06-23 04:55:36 UTC) #8
dominickn
https://codereview.chromium.org/2957523003/diff/1/chrome/browser/banners/app_banner_manager.cc File chrome/browser/banners/app_banner_manager.cc (right): https://codereview.chromium.org/2957523003/diff/1/chrome/browser/banners/app_banner_manager.cc#newcode437 chrome/browser/banners/app_banner_manager.cc:437: SiteEngagementService::Get( On 2017/06/23 04:55:35, dominickn wrote: > This is ...
3 years, 6 months ago (2017-06-23 04:57:45 UTC) #9
benwells
https://codereview.chromium.org/2957523003/diff/1/chrome/browser/banners/app_banner_manager.cc File chrome/browser/banners/app_banner_manager.cc (right): https://codereview.chromium.org/2957523003/diff/1/chrome/browser/banners/app_banner_manager.cc#newcode437 chrome/browser/banners/app_banner_manager.cc:437: SiteEngagementService::Get( On 2017/06/23 04:57:44, dominickn wrote: > On 2017/06/23 ...
3 years, 6 months ago (2017-06-23 05:12:04 UTC) #10
dominickn
lgtm, thanks!
3 years, 6 months ago (2017-06-23 05:16:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2957523003/20001
3 years, 6 months ago (2017-06-23 05:17:19 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/295127)
3 years, 6 months ago (2017-06-23 05:30:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2957523003/20001
3 years, 6 months ago (2017-06-23 05:54:26 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/295163)
3 years, 6 months ago (2017-06-23 06:09:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2957523003/40001
3 years, 6 months ago (2017-06-23 22:40:07 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/414297)
3 years, 6 months ago (2017-06-23 23:57:17 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2957523003/40001
3 years, 6 months ago (2017-06-24 01:23:14 UTC) #26
commit-bot: I haz the power
3 years, 6 months ago (2017-06-24 01:59:52 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8d9f82995bc634440aed9ec77386...

Powered by Google App Engine
This is Rietveld 408576698