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

Issue 2156273003: Reuse Website objects in WebsitePermissionFetcher. (Closed)

Created:
4 years, 5 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 5 months ago
Reviewers:
Theresa
CC:
chromium-reviews, dmurph, Finnur
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reuse Website objects in WebsitePermissionFetcher. This patch is a rewrite of r404778. Instead of creating a new Website instance of each permission they are now reused to collect all permissions associated with an origin/embedder pair. The callback from WebsitePermissionFetcher is now also substantially simpler because it turns out that no callers actually cared about receiving the maps it was generating. All they wanted was a collection of Websites. BUG=430999, 601627 Committed: https://crrev.com/fc4b6a7702df12a0f1f55122e13231f1c4c7ebff Cr-Commit-Position: refs/heads/master@{#406966}

Patch Set 1 #

Patch Set 2 : 2nd try. #

Total comments: 4

Patch Set 3 : Update comments. #

Patch Set 4 : Fix unit tests. #

Patch Set 5 : Fix findbugs warnings. #

Messages

Total messages: 31 (24 generated)
Reilly Grant (use Gerrit)
Please take a look.
4 years, 5 months ago (2016-07-19 02:01:24 UTC) #2
Reilly Grant (use Gerrit)
Please take another look. I think I've resolved the issue you observed with patch 1.
4 years, 5 months ago (2016-07-20 21:33:34 UTC) #8
Theresa
lgtm +finnur fyi on website settings +dmurph fyi on ManageSpaceActivity changes https://codereview.chromium.org/2156273003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java (right): ...
4 years, 5 months ago (2016-07-21 16:21:02 UTC) #13
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2156273003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java (right): https://codereview.chromium.org/2156273003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java#newcode129 chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java:129: // First we scan origins to get settings from ...
4 years, 5 months ago (2016-07-21 18:21:11 UTC) #14
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/2156273003/80001
4 years, 5 months ago (2016-07-21 21:58:47 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-21 22:18:59 UTC) #29
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 22:22:47 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fc4b6a7702df12a0f1f55122e13231f1c4c7ebff
Cr-Commit-Position: refs/heads/master@{#406966}

Powered by Google App Engine
This is Rietveld 408576698