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

Issue 2578533002: Reland of Supervised Users: Create ResourceThrottle only if filtering is enabled (Closed)

Created:
4 years ago by Marc Treib
Modified:
3 years, 8 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, pam+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Supervised Users: Create ResourceThrottle only if filtering is enabled (patchset #1 id:1 of https://codereview.chromium.org/2568953002/ ) Reason for revert: Going to address the problems in the reland CL. Original issue's description: > Revert of Supervised Users: Create ResourceThrottle only if filtering is enabled (patchset #3 id:40001 of https://codereview.chromium.org/2564043002/ ) > > Reason for revert: > This is believed to have increased the rate of failure for SupervisedUserContentProviderTest#testWithSupervisedUser on linux_android_rel_ng. > > See http://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=chrome_public_test_apk%20%28with%20patch%29&builder=tryserver.chromium.android%3Alinux_android_rel_ng for dramatic increase in failure rate after this CL landed. > > Example failure: https://chromium-swarm.appspot.com/task?id=330d0f66aec28810 > > Original issue's description: > > Supervised Users: Create ResourceThrottle only if filtering is enabled > > > > Before this CL, we were creating a SupervisedUserResourceThrottle for > > each top-level navigation. If the current user isn't supervised, this is > > pointless. One side-effect was that we were recording > > ManagerUsers.Filter* histograms for all navigations, including for > > non-supervised users. > > > > This CL adds an "enabled" field on SupervisedUserURLFilter, which is set > > to true iff the user is supervised. This allows us to not create the > > resource throttle for regular users. > > > > BUG=671472 > > > > Committed: https://crrev.com/54cf4ab900ab78c713bb4d53489f0571a433df24 > > Cr-Commit-Position: refs/heads/master@{#437868} > > TBR=bauerb@chromium.org,treib@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=671472 > > Committed: https://crrev.com/ac24b64ae94c5950d4452c28ca834e156ed4275a > Cr-Commit-Position: refs/heads/master@{#437910} TBR=bauerb@chromium.org,bpastene@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=671472

Patch Set 1 : Original patch #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -4 lines) Patch
M chrome/browser/search/search_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_resource_throttle.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_resource_throttle_browsertest.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_url_filter.h View 1 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_url_filter.cc View 1 4 chunks +21 lines, -3 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_url_filter_unittest.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Marc Treib
Created Reland of Supervised Users: Create ResourceThrottle only if filtering is enabled
4 years ago (2016-12-14 13:27:28 UTC) #1
Marc Treib
On 2016/12/14 13:27:28, Marc Treib wrote: > Created Reland of Supervised Users: Create ResourceThrottle only ...
4 years ago (2016-12-14 13:30:17 UTC) #2
Marc Treib
3 years, 8 months ago (2017-04-04 09:39:59 UTC) #5
On 2016/12/14 13:30:17, Marc Treib wrote:
> On 2016/12/14 13:27:28, Marc Treib wrote:
> > Created Reland of Supervised Users: Create ResourceThrottle only if
filtering
> is
> > enabled
> 
> Sorry for the spam - nothing to see here yet; I'll ping once there is
something
> to review.

In the meantime, much has changed, so it doesn't make sense anymore to call this
a re-land. I'm closing this CL; it's being replaced by
https://codereview.chromium.org/2795993002.

Powered by Google App Engine
This is Rietveld 408576698