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

Issue 2735333002: Rename SiteEngagementService::ResetScoreForURL. (Closed)

Created:
3 years, 9 months ago by dominickn
Modified:
3 years, 9 months ago
CC:
chromium-reviews, dominickn+watch_chromium.org, Peter Beverloo, tfarina, johnme+watch_chromium.org, jam, pkotwicz+watch_chromium.org, agrieve+watch_chromium.org, zpeng+watch_chromium.org, harkness+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename SiteEngagementService::ResetScoreForURL. This method only resets the base score for a URL. It does not affect the bonus score that an origin might receive, e.g. from being installed to the user's desktop or homescreen. This means that getting the score of an origin immediately after resetting it might return an unexpected number. This CL renames the method and adds a comment explicitly calling out the potential difference. BUG=699381 TBR=bauerb@chromium.org TBR=dbeam@chromium.org Review-Url: https://codereview.chromium.org/2735333002 Cr-Commit-Position: refs/heads/master@{#455918} Committed: https://chromium.googlesource.com/chromium/src/+/e062cff433a3c2ee02cb9e45d480093a7b958272

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -60 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/engagement/SiteEngagementService.java View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/banners/AppBannerManagerTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/engagement/SiteEngagementServiceTest.java View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/banners/app_banner_manager_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/banners/app_banner_settings_helper_unittest.cc View 6 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/budget_service/budget_database_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/budget_service/budget_manager_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/budget_service/budget_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/engagement/important_sites_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/engagement/important_sites_util_unittest.cc View 6 chunks +14 lines, -14 lines 0 comments Download
M chrome/browser/engagement/site_engagement_service.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/engagement/site_engagement_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/engagement/site_engagement_service_android.h View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/engagement/site_engagement_service_android.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/engagement/site_engagement_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugins/chrome_plugin_service_filter_unittest.cc View 6 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/engagement/site_engagement_ui.cc View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (13 generated)
dominickn
PTAL thanks! I'll TBR other OWNERs when you're happy.
3 years, 9 months ago (2017-03-08 05:08:10 UTC) #3
benwells
lgtm
3 years, 9 months ago (2017-03-08 06:21:08 UTC) #7
Peter Beverloo
budget and push lgtm These tests do assume that there is no "persistency" score either. ...
3 years, 9 months ago (2017-03-08 10:08:54 UTC) #10
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/2735333002/1
3 years, 9 months ago (2017-03-09 23:24:35 UTC) #12
dominickn
This CL is a method rename in the site engagement service. TBRing: bauerb for java ...
3 years, 9 months ago (2017-03-10 00:11:37 UTC) #16
Dan Beam
lgtm
3 years, 9 months ago (2017-03-10 00:12:35 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 00:15:42 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e062cff433a3c2ee02cb9e45d480...

Powered by Google App Engine
This is Rietveld 408576698