|
Multi-profiles: Use profile cache for menu
With this change we now use the new ProfileInfoCache object to get information about profiles.
As per the multi-profiles UI discussion we also hide the avatar if the user only has one local profile.
BUG=
TEST=
Total comments: 43
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+211 lines, -88 lines) |
Patch |
|
M |
chrome/app/generated_resources.grd
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_info_cache.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_info_cache.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+54 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_manager.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_manager.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+27 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/toolbar/wrench_menu_model.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+24 lines, -20 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/glass_browser_frame_view.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/glass_browser_frame_view.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+32 lines, -25 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+30 lines, -23 lines |
0 comments
|
Download
|
|
M |
content/common/notification_type.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|