|
Move user cloud policy to BrowserProcess.
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.
BUG=none
TEST=Unittests CloudPolicyProvider.*
Total comments: 57
Total comments: 112
Total comments: 22
Total comments: 70
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1097 lines, -949 lines) |
Patch |
|
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/background_view.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/base_login_display_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/enterprise_enrollment_screen.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/login_utils.cc
|
View
|
1
2
3
7
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/signed_settings_temp_storage_unittest.cc
|
View
|
1
2
3
|
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 |
+73 lines, -25 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/browser_policy_connector.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+183 lines, -46 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_cache_base.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_cache_base.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+23 lines, -69 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_controller_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
|
A |
chrome/browser/policy/cloud_policy_provider.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/policy/cloud_policy_provider.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+145 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 |
+396 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_subsystem.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud_policy_subsystem.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -19 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_pref_store.h
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_pref_store.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+7 lines, -31 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_store_interface.h
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_store_interface.cc
|
View
|
1
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_store_interface_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/profile_policy_connector.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -106 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/profile_policy_connector.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -174 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/profile_policy_connector_factory.h
|
View
|
1
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/profile_policy_connector_factory.cc
|
View
|
1
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/profile_policy_connector_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_cache.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_cache_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+15 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_identity_strategy.h
|
View
|
|
3 chunks |
+12 lines, -18 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/user_policy_identity_strategy.cc
|
View
|
1
2
3
4
|
10 chunks |
+28 lines, -71 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/browser_prefs.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service.h
|
View
|
1
2
3
|
1 chunk |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service.cc
|
View
|
1
2
3
|
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
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/test/testing_browser_process.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|