|
The User Manager should be backed by a special profile, not the guest one.
We've been using the generic guest profile to also back the User Manager
widget. The guest profile recently became an off-the-record profile which
means that when the last guest browser window is closed, the ProfileDestroyer
is going to start cleaning all the OTR stuff. This will then crash if the
User Manager is open because we now have a dangling renderer.
The solution is to create a special profile only to be used by the User
Manager. This profile doesn't get deleted, is not added to the ProfileInfoCache,
and can't be accessed through the UI.
BUG= 363565
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+105 lines, -59 lines) |
Patch |
 |
M |
chrome/browser/app_controller_mac_browsertest.mm
|
View
|
1
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_manager.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_manager.cc
|
View
|
1
|
2 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_manager_unittest.cc
|
View
|
1
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_window.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_window.cc
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/profiles/user_manager_mac.h
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
|
View
|
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm
|
View
|
1
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/profiles/user_manager_view.h
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/profiles/user_manager_view.cc
|
View
|
|
3 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_constants.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_constants.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile_manager.h
|
View
|
1
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile_manager.cc
|
View
|
1
|
2 chunks |
+25 lines, -9 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|