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

Unified Diff: chrome/browser/engagement/site_engagement_service_unittest.cc

Issue 1622413002: Update user input event's engagement value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@first_nav_bonus
Patch Set: address nits Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/engagement/site_engagement_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/engagement/site_engagement_service_unittest.cc
diff --git a/chrome/browser/engagement/site_engagement_service_unittest.cc b/chrome/browser/engagement/site_engagement_service_unittest.cc
index bb57a031f07361b8d82e04c0e17529e5353fb9bc..eca0b742b12a9ba90650fd69f502f0504c19b9c8 100644
--- a/chrome/browser/engagement/site_engagement_service_unittest.cc
+++ b/chrome/browser/engagement/site_engagement_service_unittest.cc
@@ -106,7 +106,7 @@ class SiteEngagementScoreTest : public testing::Test {
void SetUp() override {
testing::Test::SetUp();
// Disable the first engagement bonus for tests.
- SiteEngagementScore::DisableFirstDailyEngagementBonusForTesting();
+ SiteEngagementScore::SetParamValuesForTesting();
}
protected:
@@ -456,7 +456,7 @@ class SiteEngagementServiceTest : public ChromeRenderViewHostTestHarness {
g_temp_history_dir = temp_dir_.path();
HistoryServiceFactory::GetInstance()->SetTestingFactory(
profile(), &BuildTestHistoryService);
- SiteEngagementScore::DisableFirstDailyEngagementBonusForTesting();
+ SiteEngagementScore::SetParamValuesForTesting();
}
void NavigateWithTransitionAndExpectHigherScore(
« no previous file with comments | « chrome/browser/engagement/site_engagement_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698