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

Issue 1757163002: [ImportantSites] JNI bindings for CBD filtering and Important Sites. (Closed)

Created:
4 years, 9 months ago by dmurph
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ImportantSites] JNI bindings for CBD filtering and Important Sites. This CL adds the JNI hookup between the Android java source and the pref_service_bridge for: 1: deleting the browsing data while excluding a list of domains, and 2: fetching the list of important registerable domains. See https://goto.google.com/importantsites for more details. BUG=579763 Committed: https://crrev.com/d1cdbb23d12be8c4388cdc32365130c8238cd118 Cr-Commit-Position: refs/heads/master@{#389267}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Added ImportantSitesUtil, cleaned up #

Total comments: 16

Patch Set 3 : comments #

Patch Set 4 : rebase #

Total comments: 7

Patch Set 5 : comments #

Total comments: 16

Patch Set 6 : comments #

Total comments: 1

Patch Set 7 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+367 lines, -8 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java View 1 2 3 4 5 6 4 chunks +48 lines, -2 lines 0 comments Download
A chrome/browser/android/preferences/important_sites_util.h View 1 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/android/preferences/important_sites_util.cc View 1 2 3 4 5 1 chunk +127 lines, -0 lines 0 comments Download
A chrome/browser/android/preferences/important_sites_util_unittest.cc View 1 2 1 chunk +124 lines, -0 lines 0 comments Download
M chrome/browser/android/preferences/pref_service_bridge.cc View 1 2 3 4 5 5 chunks +32 lines, -6 lines 0 comments Download
M chrome/browser/engagement/site_engagement_service.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (11 generated)
dmurph
Hello all, This is the follow up patch for https://codereview.chromium.org/1741123002 which would hook up the ...
4 years, 9 months ago (2016-03-03 01:01:39 UTC) #2
msramek
Hi Dan! Routing the call through PrefService<->pref_service_bridge is indeed the correct approach. However, please avoid ...
4 years, 9 months ago (2016-03-04 13:39:13 UTC) #3
newt (away)
https://codereview.chromium.org/1757163002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java (right): https://codereview.chromium.org/1757163002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java#newcode694 chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java:694: public void clearBrowsingDataExcludingOrigins( javadoc for all public methods Also, ...
4 years, 9 months ago (2016-03-09 05:40:02 UTC) #4
dmurph
Thanks so much for the info. I'll combine the two methods. Patch coming soon.
4 years, 8 months ago (2016-04-11 22:31:58 UTC) #5
dmurph
Hello all, This CL has change a little. First, I added the ImportantSitesUtil, which Dominick ...
4 years, 8 months ago (2016-04-15 23:40:46 UTC) #8
dominickn
site engagement and its usage lgtm Query: Do you have any tie-breaking plans other than ...
4 years, 8 months ago (2016-04-18 00:45:47 UTC) #10
dmurph
-newt, +twellington Hi Theresa! Ted said you were taking over newt's reviews here. I have ...
4 years, 8 months ago (2016-04-19 17:43:33 UTC) #12
Theresa
https://codereview.chromium.org/1757163002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java (right): https://codereview.chromium.org/1757163002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java#newcode88 chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java:88: public abstract void setImportantRegisterableDomains(String[] domains); This public method needs ...
4 years, 8 months ago (2016-04-20 00:45:31 UTC) #13
dmurph
Thanks for the review! Let me know what you think about the PrefServiceBridge style for ...
4 years, 8 months ago (2016-04-20 22:06:28 UTC) #14
Theresa
lgtm https://codereview.chromium.org/1757163002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java (right): https://codereview.chromium.org/1757163002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java#newcode774 chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java:774: assert mImportantSitesCallback == null; On 2016/04/20 22:06:28, dmurph ...
4 years, 8 months ago (2016-04-21 16:05:28 UTC) #15
dmurph
Thanks for the review! Any suggestion for someone I should grab for owners approval? https://codereview.chromium.org/1757163002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java ...
4 years, 8 months ago (2016-04-21 18:53:25 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1757163002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1757163002/80001
4 years, 8 months ago (2016-04-21 19:33:40 UTC) #18
Theresa
On 2016/04/21 18:53:25, dmurph wrote: > Thanks for the review! > Any suggestion for someone ...
4 years, 8 months ago (2016-04-21 19:44:52 UTC) #19
dmurph
+tedchoc for approval. Thanks! Daniel
4 years, 8 months ago (2016-04-21 19:47:38 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-21 20:05:47 UTC) #23
Ted C
https://codereview.chromium.org/1757163002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java (right): https://codereview.chromium.org/1757163002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java#newcode87 chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java:87: public interface ImportantSitesCallback { You might want to consider ...
4 years, 8 months ago (2016-04-21 20:18:16 UTC) #24
dmurph
Hi, some quick replies for a couple comments. Let me know if you have strong ...
4 years, 8 months ago (2016-04-21 20:31:23 UTC) #25
Ted C
https://codereview.chromium.org/1757163002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java (right): https://codereview.chromium.org/1757163002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java#newcode87 chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java:87: public interface ImportantSitesCallback { On 2016/04/21 20:31:23, dmurph wrote: ...
4 years, 8 months ago (2016-04-21 21:23:39 UTC) #26
dmurph
Thanks for the comments, made it resemble WebPreferenceBridge a bit. https://codereview.chromium.org/1757163002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java (right): https://codereview.chromium.org/1757163002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java#newcode87 ...
4 years, 8 months ago (2016-04-22 18:06:22 UTC) #27
Ted C
lgtm thanks! https://codereview.chromium.org/1757163002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java (right): https://codereview.chromium.org/1757163002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java#newcode87 chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java:87: public interface ImportantSitesCallback { On 2016/04/22 18:06:22, ...
4 years, 8 months ago (2016-04-22 18:37:48 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1757163002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1757163002/120001
4 years, 8 months ago (2016-04-22 20:15:16 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-22 22:20:17 UTC) #32
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 22:22:38 UTC) #34
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d1cdbb23d12be8c4388cdc32365130c8238cd118
Cr-Commit-Position: refs/heads/master@{#389267}

Powered by Google App Engine
This is Rietveld 408576698