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

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

Issue 2735333002: Rename SiteEngagementService::ResetScoreForURL. (Closed)
Patch Set: Created 3 years, 9 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
Index: chrome/browser/engagement/important_sites_util.cc
diff --git a/chrome/browser/engagement/important_sites_util.cc b/chrome/browser/engagement/important_sites_util.cc
index c266bd0d0265ce97ac68f5490e82d6f8a191f4d3..96b8b01bd4058fa950c848b103280ec0594fca90 100644
--- a/chrome/browser/engagement/important_sites_util.cc
+++ b/chrome/browser/engagement/important_sites_util.cc
@@ -483,7 +483,7 @@ void ImportantSitesUtil::MarkOriginAsImportantForTesting(Profile* profile,
// First get data from site engagement.
SiteEngagementService* site_engagement_service =
SiteEngagementService::Get(profile);
- site_engagement_service->ResetScoreForURL(
+ site_engagement_service->ResetBaseScoreForURL(
origin, SiteEngagementScore::GetMediumEngagementBoundary());
DCHECK(site_engagement_service->IsEngagementAtLeast(
origin, blink::mojom::EngagementLevel::MEDIUM));
« no previous file with comments | « chrome/browser/budget_service/budget_manager_unittest.cc ('k') | chrome/browser/engagement/important_sites_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698