|
Move user cloud policy to BrowserProcess (was 6979011)
This CL basically does the following things:
* Remove final dependencies of ProfilePolicyConnector on Profile
* Take ProfilePolicyConnector away from Profile and put it into BrowserPolicyConnector.
* Make BrowserPolicyConnector instance persistant and allow to
exchange the CloudPolicySubsystem backend instead.
* Introduce a new CloudPolicyProvider which combines two
(or more) CloudPolicyCacheBase backends and applies their policies in a well defined order.
That is the order in which the CloudPolicyCacheBases appear in
the List of CloudPolicyProvider determines the precedence,
early Providers get applied first and block the applied policies
for later Caches.
* Handles ProxyPolicies in CloudPolicyProvider making
the old infrastructure around MergingPolicyConnector obsolete.
* Consequently this means that user cloud policy can now serve local_state.
Continuation of http://codereview.chromium.org/6979011/
Patch from sfeuz@chromium.org with additional work from gfeher@chromium.org
BUG=none
TEST=Unittests CloudPolicyProvider.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90957
Total comments: 66
Total comments: 25
Total comments: 8
Total comments: 44
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1057 lines, -973 lines) |
Patch |
|
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/background_view.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/base_login_display_host.cc
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/enterprise_enrollment_screen.cc
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/login_utils.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/signed_settings_temp_storage_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/user_image_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+6 lines, -17 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/browser_policy_connector.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+75 lines, -26 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/browser_policy_connector.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+176 lines, -48 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_cache_base.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+27 lines, -19 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_cache_base.cc
|
View
|
1
2
3
4
|
3 chunks |
+22 lines, -69 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_controller_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
A |
chrome/browser/policy/cloud_policy_provider.h
|
View
|
1
2
3
4
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/policy/cloud_policy_provider.cc
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/policy/cloud_policy_provider_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/policy/cloud_policy_provider_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+125 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/policy/cloud_policy_provider_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+240 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_subsystem.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_subsystem.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+3 lines, -20 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_subsystem_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_pref_store.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_pref_store.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+17 lines, -36 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_store_interface.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+0 lines, -43 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/configuration_policy_store_interface.cc
|
View
|
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/configuration_policy_store_interface_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/device_policy_cache.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/device_policy_cache.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
A |
chrome/browser/policy/dummy_cloud_policy_provider.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/policy/dummy_cloud_policy_provider.cc
|
View
|
1
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/profile_policy_connector.h
|
View
|
|
1 chunk |
+0 lines, -106 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/profile_policy_connector.cc
|
View
|
1
|
1 chunk |
+0 lines, -175 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/profile_policy_connector_factory.h
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/profile_policy_connector_factory.cc
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/profile_policy_connector_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_cache.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_cache.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_cache_unittest.cc
|
View
|
|
4 chunks |
+15 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_identity_strategy.h
|
View
|
1
2
3
4
5
|
2 chunks |
+15 lines, -17 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_identity_strategy.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+20 lines, -72 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/browser_prefs.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service.h
|
View
|
|
1 chunk |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service.cc
|
View
|
1
2
3
4
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/test/testing_browser_process.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|