|
[Profiles] Remove the NotificationService from the ProfileInfoCache
This removes NOTIFICATION_PROFILE_CACHED_INFO_CHANGED and
NOTIFICATION_PROFILE_CACHE_PICTURE_SAVED notifications from all the
things.
This is part of the long process of killing the NotificationService with fire. In
particular, this ProfileInfoCache notification is terrible because it's incredibly
generic, gets shouted out any time *anything* happens to *any* profile, and
a bunch of things in Chrome listen to it, when in fact they care about very
specific profile notifications (i.e. has a name been changed, has a user been
added)
BUG= 454845
TEST=All tests should pass. Chrome shouldn't behave weirdly. Everyone should
get a pony.
Committed: https://crrev.com/75ca0190e37b841400182d657d44ee077180f792
Cr-Commit-Position: refs/heads/master@{#318178}
Total comments: 8
Total comments: 2
Total comments: 7
Total comments: 7
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+312 lines, -298 lines) |
Patch |
 |
M |
chrome/browser/chrome_notification_types.h
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/jumplist_win.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/message_center_settings_controller.h
|
View
|
1
2
3
|
4 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/message_center_settings_controller.cc
|
View
|
1
2
3
|
6 chunks |
+32 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/avatar_menu.h
|
View
|
|
4 chunks |
+18 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/avatar_menu.cc
|
View
|
1
2
|
4 chunks |
+39 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_info_cache.h
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_info_cache.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
10 chunks |
+8 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_info_cache_observer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_info_cache_unittest.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_list_desktop_unittest.cc
|
View
|
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_manager.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+45 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/glass_browser_frame_view.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/glass_browser_frame_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+9 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+8 lines, -33 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/ntp_login_handler.h
|
View
|
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/ntp_login_handler.cc
|
View
|
1
2
3
4
|
4 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/browser_options_handler.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/browser_options_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+25 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/manage_profile_handler.h
|
View
|
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/manage_profile_handler.cc
|
View
|
|
2 chunks |
+24 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/options_ui_browsertest.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 55 (24 generated)
|