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

Issue 2393103002: [Durable] Updated Durable heuristic to use 'important sites' (Closed)

Created:
4 years, 2 months ago by dmurph
Modified:
4 years, 2 months ago
CC:
chromium-reviews, dominickn+watch_chromium.org, tfarina, msramek+watch_chromium.org, raymes+watch_chromium.org, mlamouri+watch-permissions_chromium.org, markusheintz_
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Durable] Updated Durable heuristic to use 'important sites' This also involves moving the important sites util into a location visible to the durable storage permission context. BUG=595433 Committed: https://crrev.com/ef859ea8e62837fb37e7cba6e02519b1e6f03121 Cr-Commit-Position: refs/heads/master@{#423695}

Patch Set 1 #

Total comments: 14

Patch Set 2 : comments #

Patch Set 3 : comment change #

Patch Set 4 : test & compile fix #

Patch Set 5 : windows test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -1001 lines) Patch
M chrome/browser/BUILD.gn View 1 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/android/preferences/important_sites_util.h View 1 chunk +0 lines, -56 lines 0 comments Download
D chrome/browser/android/preferences/important_sites_util.cc View 1 chunk +0 lines, -440 lines 0 comments Download
D chrome/browser/android/preferences/important_sites_util_unittest.cc View 1 chunk +0 lines, -383 lines 0 comments Download
M chrome/browser/android/preferences/pref_service_bridge.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/android/preferences/website_preference_bridge.cc View 2 chunks +1 line, -1 line 0 comments Download
A + chrome/browser/engagement/important_sites_util.h View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
A + chrome/browser/engagement/important_sites_util.cc View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
A + chrome/browser/engagement/important_sites_util_unittest.cc View 1 2 3 4 11 chunks +47 lines, -21 lines 0 comments Download
M chrome/browser/engagement/site_engagement_score.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/storage/durable_storage_permission_context.h View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/storage/durable_storage_permission_context.cc View 1 4 chunks +16 lines, -19 lines 0 comments Download
M chrome/browser/storage/durable_storage_permission_context_unittest.cc View 1 5 chunks +7 lines, -61 lines 0 comments Download
M chrome/test/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M components/content_settings/core/browser/website_settings_registry.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 32 (20 generated)
dmurph
Hello! This updates the durable storage permission to use Important Sites as the source of ...
4 years, 2 months ago (2016-10-05 04:12:21 UTC) #2
Ted C
On 2016/10/05 04:12:21, dmurph wrote: > Hello! > > This updates the durable storage permission ...
4 years, 2 months ago (2016-10-05 16:49:53 UTC) #3
raymes
components/content_settings/core/browser/website_settings_registry.cc lgtm https://codereview.chromium.org/2393103002/diff/1/chrome/browser/storage/durable_storage_permission_context.cc File chrome/browser/storage/durable_storage_permission_context.cc (right): https://codereview.chromium.org/2393103002/diff/1/chrome/browser/storage/durable_storage_permission_context.cc#newcode30 chrome/browser/storage/durable_storage_permission_context.cc:30: namespace {} // namespace nit: is this ...
4 years, 2 months ago (2016-10-05 23:04:28 UTC) #5
michaeln
https://codereview.chromium.org/2393103002/diff/1/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2393103002/diff/1/chrome/browser/BUILD.gn#newcode340 chrome/browser/BUILD.gn:340: "engagement/site_engagement_eviction_policy.h", you have a duplicate line here, delete me ...
4 years, 2 months ago (2016-10-05 23:27:46 UTC) #6
dominickn
engagement lgtm % michaeln's comments
4 years, 2 months ago (2016-10-06 00:35:18 UTC) #7
dmurph
Thanks for the comments! https://codereview.chromium.org/2393103002/diff/1/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2393103002/diff/1/chrome/browser/BUILD.gn#newcode340 chrome/browser/BUILD.gn:340: "engagement/site_engagement_eviction_policy.h", On 2016/10/05 23:27:45, michaeln ...
4 years, 2 months ago (2016-10-06 01:02:00 UTC) #11
michaeln
lgtm!
4 years, 2 months ago (2016-10-06 19:26:50 UTC) #17
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/2393103002/60001
4 years, 2 months ago (2016-10-06 20:00:37 UTC) #21
dmurph
I had to windows fix as it had different behavior w/ sorting items that have ...
4 years, 2 months ago (2016-10-06 20:37:30 UTC) #24
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/2393103002/80001
4 years, 2 months ago (2016-10-06 21:02:05 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-06 21:42:46 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 21:45:10 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ef859ea8e62837fb37e7cba6e02519b1e6f03121
Cr-Commit-Position: refs/heads/master@{#423695}

Powered by Google App Engine
This is Rietveld 408576698