|
Turn on and use the AppInfo data.
Synced Notifications uses the SyncedNotificationAppInfo struct to name
the sending services and supply icons for them. The first two checkins
in this larger change established the datatype and the sync change
processor for it. This checkin wires up the data type to the rest of the
Synced Notifications code.
This checkin now uses the SNAI class to provide the bitmap and service name,
and removes the hardcoding to our first service name provider and bitmap.
This checkin also adds code to fetch the bitmaps provided by the SNAI
protobuf.
New unit tests have been added to cover the new functionality.
A lifetime dependency has been set up to ensure that the
SyncedNotificationAppInfoService is always present whenever we have a
ChromeNotifierService.
BUG= 280266
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260433
Total comments: 53
Total comments: 21
Total comments: 10
Total comments: 48
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1512 lines, -480 lines) |
Patch |
 |
M |
chrome/browser/notifications/sync_notifier/chrome_notifier_delegate_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/chrome_notifier_service.h
|
View
|
1
2
3
4
5
6
|
6 chunks |
+27 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc
|
View
|
1
2
3
4
5
6
7
|
16 chunks |
+132 lines, -106 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
15 chunks |
+87 lines, -26 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/notifications/sync_notifier/image_holder.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/notifications/sync_notifier/image_holder.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/notifications/sync_notifier/image_holder_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h
|
View
|
1
2
3
4
5
|
2 chunks |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc
|
View
|
1
2
3
4
|
2 chunks |
+90 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+48 lines, -32 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification.cc
|
View
|
1
2
3
4
5
6
7
|
10 chunks |
+224 lines, -223 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification_app_info.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+87 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification_app_info.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+103 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+57 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+125 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc
|
View
|
1
2
3
4
|
12 chunks |
+65 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification_app_info_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+47 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc
|
View
|
1
2
3
4
5
6
|
10 chunks |
+74 lines, -24 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|