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

Issue 886643003: Use heuristic to work out when to prompt for app install banners. (Closed)

Created:
5 years, 10 months ago by benwells
Modified:
5 years, 10 months ago
Reviewers:
gone
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kinuko+watch, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use heuristic to work out when to prompt for app install banners. The heuristic ensures that the user is not prompted too much, and is only prompted after showing sustained engagement with a site. BUG=452825 Committed: https://crrev.com/4a1448294ae0d52682a3d5f1d10a4448367020eb Cr-Commit-Position: refs/heads/master@{#315055}

Patch Set 1 #

Patch Set 2 : Remove other patch #

Total comments: 10

Patch Set 3 : Rebase #

Patch Set 4 : Fix rebase #

Patch Set 5 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -97 lines) Patch
M chrome/browser/android/banners/app_banner_manager.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager.cc View 1 2 3 4 5 chunks +40 lines, -8 lines 0 comments Download
M chrome/browser/banners/app_banner_settings_helper.h View 1 chunk +47 lines, -22 lines 0 comments Download
M chrome/browser/banners/app_banner_settings_helper.cc View 1 2 3 4 5 chunks +131 lines, -47 lines 0 comments Download
M chrome/browser/banners/app_banner_settings_helper_unittest.cc View 1 2 3 4 6 chunks +204 lines, -20 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
benwells
5 years, 10 months ago (2015-02-05 19:58:42 UTC) #2
gone
lgtm with nits https://chromiumcodereview.appspot.com/886643003/diff/20001/chrome/browser/android/banners/app_banner_manager.cc File chrome/browser/android/banners/app_banner_manager.cc (right): https://chromiumcodereview.appspot.com/886643003/diff/20001/chrome/browser/android/banners/app_banner_manager.cc#newcode201 chrome/browser/android/banners/app_banner_manager.cc:201: AppBannerSettingsHelper::APP_BANNER_EVENT_DID_SHOW, base::Time::Now()); Seems strange to record ...
5 years, 10 months ago (2015-02-05 22:21:10 UTC) #3
gone
https://chromiumcodereview.appspot.com/886643003/diff/20001/chrome/browser/banners/app_banner_settings_helper.cc File chrome/browser/banners/app_banner_settings_helper.cc (right): https://chromiumcodereview.appspot.com/886643003/diff/20001/chrome/browser/banners/app_banner_settings_helper.cc#newcode35 chrome/browser/banners/app_banner_settings_helper.cc:35: const unsigned int kMinimumBannerBlockedToBannerShown = 180; This is 6 ...
5 years, 10 months ago (2015-02-05 23:13:50 UTC) #4
benwells
https://codereview.chromium.org/886643003/diff/20001/chrome/browser/android/banners/app_banner_manager.cc File chrome/browser/android/banners/app_banner_manager.cc (right): https://codereview.chromium.org/886643003/diff/20001/chrome/browser/android/banners/app_banner_manager.cc#newcode201 chrome/browser/android/banners/app_banner_manager.cc:201: AppBannerSettingsHelper::APP_BANNER_EVENT_DID_SHOW, base::Time::Now()); On 2015/02/05 22:21:10, dfalcantara wrote: > Seems ...
5 years, 10 months ago (2015-02-06 16:36:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886643003/80001
5 years, 10 months ago (2015-02-06 16:37:05 UTC) #8
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-06 17:28:19 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 17:29:12 UTC) #10
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4a1448294ae0d52682a3d5f1d10a4448367020eb
Cr-Commit-Position: refs/heads/master@{#315055}

Powered by Google App Engine
This is Rietveld 408576698