|
Remove TopSites notification in favor of Observers
Remove obsolete notification NOTIFICATION_TOP_SITES_LOADED as no code
was registering to receive it.
Port all clients of notification NOTIFICATION_TOP_SITES_CHANGED to
instead be history::TopSitesObserver and remove the notification that
is no longer useful.
ChromeHistoryClient is no longer a history::TopSitesObserver as it
does not have to convert the events into notification. Remove the
functionality and references to Profile and TopSites.
BUG= 373329
Committed: https://crrev.com/edf9e01f8765025276e2c7090d49dde7afd24e18
Cr-Commit-Position: refs/heads/master@{#311311}
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+140 lines, -261 lines) |
Patch |
 |
M |
chrome/browser/android/most_visited_sites.h
|
View
|
1
2
3
4
|
5 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/most_visited_sites.cc
|
View
|
1
|
6 chunks |
+14 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_notification_types.h
|
View
|
1
2
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/chrome_history_client.h
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/chrome_history_client.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/chrome_history_client_factory.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/top_sites.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/history/top_sites_impl_unittest.cc
|
View
|
1
2
|
9 chunks |
+6 lines, -56 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/jumplist_win.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/jumplist_win.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+19 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/instant_service.h
|
View
|
1
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/search/instant_service.cc
|
View
|
1
|
4 chunks |
+17 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/global_menu_bar_x11.h
|
View
|
1
|
5 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/global_menu_bar_x11.cc
|
View
|
1
|
5 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/most_visited_handler.h
|
View
|
1
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
View
|
1
|
5 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/suggestions_page_handler.h
|
View
|
1
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/suggestions_page_handler.cc
|
View
|
1
|
5 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
Total messages: 15 (3 generated)
|