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

Issue 23376002: Move ManagedModePolicyProvider functionality to ManagedUserSettingsService. (Closed)

Created:
7 years, 4 months ago by Bernhard Bauer
Modified:
7 years, 3 months ago
CC:
chromium-reviews, tim+watch_chromium.org, nkostylev+watch_chromium.org, haitaol+watch_chromium.org, pam+watch_chromium.org, oshima+watch_chromium.org, rsimha+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, bartfab (slow)
Visibility:
Public.

Description

Move ManagedModePolicyProvider functionality to ManagedUserSettingsService. TBR=sky@chromium.org,rsimha@chromium.org BUG=280674 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222494

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : .. #

Patch Set 5 : ... #

Patch Set 6 : x #

Patch Set 7 : . #

Patch Set 8 : .. #

Patch Set 9 : ... #

Patch Set 10 : . #

Patch Set 11 : .. #

Patch Set 12 : . #

Patch Set 13 : . #

Patch Set 14 : . #

Patch Set 15 : x #

Patch Set 16 : cleanup #

Patch Set 17 : fix #

Patch Set 18 : sync #

Patch Set 19 : fix #

Patch Set 20 : rebase #

Patch Set 21 : . #

Patch Set 22 : sync #

Patch Set 23 : cleanup #

Patch Set 24 : fix #

Total comments: 7

Patch Set 25 : comment #

Patch Set 26 : fix? #

Patch Set 27 : . #

Patch Set 28 : fix #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+669 lines, -1116 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +3 lines, -4 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 15 16 17 18 19 20 21 22 5 chunks +15 lines, -25 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_resource_throttle_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +7 lines, -11 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 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_url_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 10 chunks +15 lines, -23 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_service_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +16 lines, -23 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_settings_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 7 chunks +48 lines, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_user_settings_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 chunks +221 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_settings_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +261 lines, -0 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +0 lines, -15 lines 0 comments Download
D chrome/browser/policy/managed_mode_policy_provider.h View 1 chunk +0 lines, -146 lines 0 comments Download
D chrome/browser/policy/managed_mode_policy_provider.cc View 1 chunk +0 lines, -384 lines 0 comments Download
D chrome/browser/policy/managed_mode_policy_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -399 lines 0 comments Download
M chrome/browser/policy/profile_policy_connector.h View 1 2 3 4 5 6 3 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/policy/profile_policy_connector.cc View 1 2 3 4 5 6 3 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 7 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +25 lines, -11 lines 6 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/sync/test/integration/single_client_managed_user_settings_sync_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +11 lines, -14 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 16 17 18 19 20 21 22 23 24 25 26 2 chunks +0 lines, -4 lines 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 16 17 18 19 20 21 22 23 24 25 26 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 2 3 4 5 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 3 4 5 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Bernhard Bauer
Please review. Pam: managed_mode/ Mattias: policy/ Thanks!
7 years, 3 months ago (2013-09-09 10:16:39 UTC) #1
Mattias Nissler (ping if slow)
Thanks, LGTM. Can you also switch the policy definitions in chrome/app/policy/policy_templates.json to deprecated?
7 years, 3 months ago (2013-09-09 11:23:10 UTC) #2
Pam (message me for reviews)
https://codereview.chromium.org/23376002/diff/287001/chrome/browser/managed_mode/managed_user_settings_service.cc File chrome/browser/managed_mode/managed_user_settings_service.cc (right): https://codereview.chromium.org/23376002/diff/287001/chrome/browser/managed_mode/managed_user_settings_service.cc#newcode128 chrome/browser/managed_mode/managed_user_settings_service.cc:128: content::RecordAction(UserMetricsAction("ManagedUsers_UploadItem_Queued")); A quick comment here explaining when (whence) queued ...
7 years, 3 months ago (2013-09-09 15:13:48 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/23376002/diff/287001/chrome/browser/managed_mode/managed_user_settings_service.cc File chrome/browser/managed_mode/managed_user_settings_service.cc (right): https://codereview.chromium.org/23376002/diff/287001/chrome/browser/managed_mode/managed_user_settings_service.cc#newcode128 chrome/browser/managed_mode/managed_user_settings_service.cc:128: content::RecordAction(UserMetricsAction("ManagedUsers_UploadItem_Queued")); On 2013/09/09 15:13:49, Pam (also PM for reviews) ...
7 years, 3 months ago (2013-09-09 15:31:30 UTC) #4
Pam (message me for reviews)
lgtm https://codereview.chromium.org/23376002/diff/287001/chrome/browser/prefs/chrome_pref_service_factory.cc File chrome/browser/prefs/chrome_pref_service_factory.cc (left): https://codereview.chromium.org/23376002/diff/287001/chrome/browser/prefs/chrome_pref_service_factory.cc#oldcode115 chrome/browser/prefs/chrome_pref_service_factory.cc:115: const scoped_refptr<PrefStore>& extension_prefs, On 2013/09/09 15:31:31, Bernhard Bauer ...
7 years, 3 months ago (2013-09-10 14:31:54 UTC) #5
Bernhard Bauer
7 years, 3 months ago (2013-09-10 14:52:45 UTC) #6
Bernhard Bauer
Adding more OWNERS: Joao: policy templates Elliot: profiles
7 years, 3 months ago (2013-09-10 14:53:30 UTC) #7
Elliot Glaysher
lgtm https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc#newcode420 chrome/browser/profiles/profile_impl.cc:420: ManagedUserSettingsServiceFactory::GetForProfile(this); Is any progress being made on separating ...
7 years, 3 months ago (2013-09-10 21:25:10 UTC) #8
Joao da Silva
policy_templates.json lgtm
7 years, 3 months ago (2013-09-11 08:06:44 UTC) #9
Bernhard Bauer
https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc#newcode420 chrome/browser/profiles/profile_impl.cc:420: ManagedUserSettingsServiceFactory::GetForProfile(this); On 2013/09/10 21:25:10, Elliot Glaysher wrote: > Is ...
7 years, 3 months ago (2013-09-11 08:10:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/23376002/306001
7 years, 3 months ago (2013-09-11 08:10:54 UTC) #11
Mattias Nissler (ping if slow)
https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc#newcode420 chrome/browser/profiles/profile_impl.cc:420: ManagedUserSettingsServiceFactory::GetForProfile(this); On 2013/09/11 08:10:34, Bernhard Bauer wrote: > On ...
7 years, 3 months ago (2013-09-11 08:17:04 UTC) #12
Bernhard Bauer
https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc#newcode420 chrome/browser/profiles/profile_impl.cc:420: ManagedUserSettingsServiceFactory::GetForProfile(this); On 2013/09/11 08:17:05, Mattias Nissler wrote: > On ...
7 years, 3 months ago (2013-09-11 08:20:39 UTC) #13
Joao da Silva
https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc#newcode420 chrome/browser/profiles/profile_impl.cc:420: ManagedUserSettingsServiceFactory::GetForProfile(this); On 2013/09/11 08:17:05, Mattias Nissler wrote: > On ...
7 years, 3 months ago (2013-09-11 08:24:59 UTC) #14
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=24864
7 years, 3 months ago (2013-09-11 08:27:23 UTC) #15
Bernhard Bauer
TBR'ing remaining OWNERS: Raghu for Sync Scott for rest of chrome/ https://codereview.chromium.org/23376002/diff/306001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): ...
7 years, 3 months ago (2013-09-11 08:50:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/23376002/306001
7 years, 3 months ago (2013-09-11 08:51:18 UTC) #17
commit-bot: I haz the power
7 years, 3 months ago (2013-09-11 11:50:05 UTC) #18
Message was sent while issue was closed.
Change committed as 222494

Powered by Google App Engine
This is Rietveld 408576698