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

Issue 11826059: Add ManagedUserService for profile-specific managed user data. (Closed)

Created:
7 years, 11 months ago by Bernhard Bauer
Modified:
7 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Add ManagedUserService for profile-specific managed user data. Because ManagedModeURLFilter is now owned by ProfileIOData, make it refcounted, so ProfileImplIOData and OffTheRecordProfileIOData can share the same filter. TBR=ben@chromium.org,evan@chromium.org BUG=169819 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177813

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : android #

Patch Set 5 : android test #

Total comments: 50

Patch Set 6 : review #

Patch Set 7 : sync #

Patch Set 8 : sync #

Patch Set 9 : fix #

Patch Set 10 : review #

Patch Set 11 : sync #

Patch Set 12 : sync #

Total comments: 2

Patch Set 13 : . #

Patch Set 14 : sync & fix #

Patch Set 15 : fix #

Patch Set 16 : win fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+998 lines, -688 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode.h View 1 2 3 4 5 6 7 6 chunks +4 lines, -97 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode.cc View 1 2 3 4 5 6 7 8 chunks +9 lines, -344 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 22 chunks +40 lines, -148 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_navigation_observer.h View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_mode_navigation_observer.cc View 1 2 3 4 5 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_resource_throttle.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_mode_resource_throttle.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_site_list.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_site_list.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_unittest.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_url_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_url_filter.cc View 1 2 3 4 5 6 7 3 chunks +12 lines, -15 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_url_filter_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -29 lines 0 comments Download
A chrome/browser/managed_mode/managed_user_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +171 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/managed_user_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +353 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/managed_user_service_factory.h View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/managed_user_service_factory.cc View 1 2 3 4 5 6 7 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/managed_user_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +220 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -4 lines 1 comment Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +9 lines, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Bernhard Bauer
Please review.
7 years, 11 months ago (2013-01-14 09:47:07 UTC) #1
Pam (message me for reviews)
Needs a bug number and TEST line. https://codereview.chromium.org/11826059/diff/12001/chrome/browser/managed_mode/managed_mode.h File chrome/browser/managed_mode/managed_mode.h (right): https://codereview.chromium.org/11826059/diff/12001/chrome/browser/managed_mode/managed_mode.h#newcode37 chrome/browser/managed_mode/managed_mode.h:37: // The ...
7 years, 11 months ago (2013-01-14 14:12:41 UTC) #2
Bernhard Bauer
On 2013/01/14 14:12:41, Pam wrote: > Needs a bug number and TEST line. Added a ...
7 years, 11 months ago (2013-01-15 14:24:44 UTC) #3
Pam (message me for reviews)
https://codereview.chromium.org/11826059/diff/12001/chrome/browser/managed_mode/managed_mode.h File chrome/browser/managed_mode/managed_mode.h (right): https://codereview.chromium.org/11826059/diff/12001/chrome/browser/managed_mode/managed_mode.h#newcode37 chrome/browser/managed_mode/managed_mode.h:37: // The ManagedMode class provides methods to check whether ...
7 years, 11 months ago (2013-01-15 14:47:52 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/11826059/diff/12001/chrome/browser/managed_mode/managed_mode_url_filter.h File chrome/browser/managed_mode/managed_mode_url_filter.h (right): https://codereview.chromium.org/11826059/diff/12001/chrome/browser/managed_mode/managed_mode_url_filter.h#newcode27 chrome/browser/managed_mode/managed_mode_url_filter.h:27: // on the same thread. On 2013/01/15 14:47:53, Pam ...
7 years, 11 months ago (2013-01-15 14:59:55 UTC) #5
Pam (message me for reviews)
LGTM. > > What does "is a managed profile" mean on its own? > > ...
7 years, 11 months ago (2013-01-16 13:06:04 UTC) #6
Bernhard Bauer
Adding OWNERS: Will: ProfileIOData Evan: WebUI TBR (IWYU-fix after refactoring) Ben: File additions TBR
7 years, 11 months ago (2013-01-16 14:39:49 UTC) #7
willchan no longer on Chromium
I'm sending most of these ProfileIOData reviews to mmenke nowadays. https://codereview.chromium.org/11826059/diff/58002/chrome/browser/profiles/profile_io_data.h File chrome/browser/profiles/profile_io_data.h (right): https://codereview.chromium.org/11826059/diff/58002/chrome/browser/profiles/profile_io_data.h#newcode490 ...
7 years, 11 months ago (2013-01-16 17:15:40 UTC) #8
Ben Goodger (Google)
gyp lgtm
7 years, 11 months ago (2013-01-16 18:00:17 UTC) #9
Bernhard Bauer
https://codereview.chromium.org/11826059/diff/58002/chrome/browser/profiles/profile_io_data.h File chrome/browser/profiles/profile_io_data.h (right): https://codereview.chromium.org/11826059/diff/58002/chrome/browser/profiles/profile_io_data.h#newcode490 chrome/browser/profiles/profile_io_data.h:490: #if !defined(OS_ANDROID) On 2013/01/16 17:15:40, willchan wrote: > We ...
7 years, 11 months ago (2013-01-17 13:49:49 UTC) #10
willchan no longer on Chromium
lgtm
7 years, 11 months ago (2013-01-17 16:24:49 UTC) #11
mmenke
Sorry I'm slow this week. LGTM as well. On 2013/01/17 16:24:49, willchan wrote: > lgtm
7 years, 11 months ago (2013-01-17 17:51:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/11826059/80001
7 years, 11 months ago (2013-01-18 22:47:10 UTC) #13
commit-bot: I haz the power
Change committed as 177813
7 years, 11 months ago (2013-01-19 03:44:33 UTC) #14
not at google - send to devlin
7 years, 10 months ago (2013-02-01 19:35:50 UTC) #15
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/11826059/diff/80001/chrome/browser/ren...
File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
(right):

https://chromiumcodereview.appspot.com/11826059/diff/80001/chrome/browser/ren...
chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:334:
io_data->managed_mode_url_filter()));
This broke compile with safe_browsing==0 since io_data is only defined if
FULL_SAFE_BROWSING is defined.

Powered by Google App Engine
This is Rietveld 408576698