|
|
Remove the app banner navigation heuristic.
App banners now use site engagement to determine when to trigger. This
CL removes the old navigation-based heuristic and all tests based on it.
New tests using the site engagement metric are added in their place.
The app banner settings helper still records a single
APP_BANNER_COULD_SHOW event for the purposes of metrics. The old vector
of COULD_SHOW events is removed in this CL and replaced with a single
event recorded the first time that a banner could be shown. Any
additional COULD_SHOW events are ignored; all other events will
overwrite old values when they are rewritten.
Many tests that checked the direct/indirect navigation accumulation have
been removed. New tests for checking the backoff period (and changing
that backoff) have been added in their place.
BUG= 667073
Committed: https://crrev.com/598df313ae463915342386163972df774453c570
Cr-Commit-Position: refs/heads/master@{#438452}
Total comments: 4
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+402 lines, -1352 lines) |
Patch |
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java
|
View
|
|
2 chunks |
+19 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/android/javatests/src/org/chromium/chrome/browser/banners/AppBannerManagerTest.java
|
View
|
1
2
3
|
11 chunks |
+135 lines, -65 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/banners/app_banner_manager_android.cc
|
View
|
|
2 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/banners/app_banner_manager.h
|
View
|
1
|
3 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/banners/app_banner_manager.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/banners/app_banner_manager_browsertest.cc
|
View
|
|
5 chunks |
+96 lines, -250 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/banners/app_banner_settings_helper.h
|
View
|
1
2
3
4
|
8 chunks |
+16 lines, -47 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/banners/app_banner_settings_helper.cc
|
View
|
1
2
|
20 chunks |
+27 lines, -318 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/banners/app_banner_settings_helper_unittest.cc
|
View
|
|
7 chunks |
+72 lines, -616 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/TabLoadObserver.java
|
View
|
|
2 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/banners/prompt_in_handler_test_page.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/banners/prompt_test_page.html
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 41 (29 generated)
|