|
Refactor HistoryService to not send NOTIFICATION_FAVICON_CHANGED
Use a base::CallbackList<void(HistoryService*, const std::set<GURL>&) to
register and notify objects interested in change to favicon urls. The
callback will be sent at the point the notification would have been called.
Refactor HistoryBackend and HistoryService to change how the notification
is forwarded (remove the notification and introduce explicit methods).
Change how notification are forwared on android from a pair of vector of
notification type and notification detail to a list of callbacks.
BUG= 373320
Committed: https://crrev.com/ba90edc1df14a90c43327329a43f64910ce2fc81
Cr-Commit-Position: refs/heads/master@{#293967}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+250 lines, -252 lines) |
Patch |
 |
M |
chrome/browser/bookmarks/chrome_bookmark_client.h
|
View
|
1
2
3
|
3 chunks |
+15 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/bookmarks/chrome_bookmark_client.cc
|
View
|
1
2
3
|
7 chunks |
+15 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_notification_types.h
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/favicon/favicon_changed_details.h
|
View
|
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/favicon/favicon_changed_details.cc
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/DEPS
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/android/android_provider_backend.h
|
View
|
1
|
2 chunks |
+2 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/android/android_provider_backend.cc
|
View
|
1
2
|
13 chunks |
+64 lines, -71 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/android/android_provider_backend_unittest.cc
|
View
|
1
2
3
4
5
6
|
19 chunks |
+38 lines, -42 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend_unittest.cc
|
View
|
1
2
3
|
18 chunks |
+32 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_service.h
|
View
|
1
2
3
|
4 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_service.cc
|
View
|
1
2
3
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_service_factory.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/notification_service_sessions_router.h
|
View
|
1
2
3
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/notification_service_sessions_router.cc
|
View
|
1
2
3
|
4 chunks |
+15 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/history/core/browser/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 23 (7 generated)
|