|
Mark supervised profiles as such immediately when they're created.
This happens in Profile::InitProfileUserPrefs(), so we add a new method Profile::Delegate::OnPrefsLoaded() which is called immediately after the PrefService has been creted, and which ProfileManager implements by calling InitProfileUserPrefs().
Also, remove ManagedUserService::InitForTesting in favor of marking the profile as managed at creation.
BUG= 279307
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229237
Total comments: 7
Total comments: 4
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+250 lines, -182 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_service_unittest.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+39 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/webstore_startup_installer_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/managed_mode/managed_mode_browsertest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/managed_mode/managed_mode_resource_throttle_browsertest.cc
|
View
|
|
4 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/managed_mode/managed_user_service.h
|
View
|
|
4 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/managed_mode/managed_user_service.cc
|
View
|
|
3 chunks |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/managed_mode/managed_user_service_browsertest.cc
|
View
|
|
4 chunks |
+26 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/managed_mode/managed_user_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+32 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_info_cache_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/single_client_managed_user_settings_sync_test.cc
|
View
|
1
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
5 chunks |
+25 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser/avatar_button_controller_unittest.mm
|
View
|
1
2
3
|
3 chunks |
+29 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/downloads_ui_browsertest.h
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/downloads_ui_browsertest.cc
|
View
|
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/downloads_ui_browsertest.js
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.h
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile_manager.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|