|
Integrate the notification database with the normal code path.
This patch actually integrates the Web Notification database with the
existing code paths, which means that it will be used for any persistent
notification being shown from this patch forward.
The database is completely tested with a series of unit tests, whereas
all existing browser tests, layout tests and instrumentation tests will
continue to exercise the full flows.
Please mind that this is the first part in a series. I realize that
there's a fair amount of TODOs in the code. Resolving these takes larger
refactorings (in case of reducing PlatformNotificationService
knowledge) or three-sided patches (in case of the Blink API). These
will be addressed in follow-ups.
Design document:
http://goo.gl/TciXVp
BUG= 447628
Committed: https://crrev.com/2ee1f3c08f9d1e46bdeb42dc8435dd30d81f0ae6
Cr-Commit-Position: refs/heads/master@{#325232}
Total comments: 7
Total comments: 26
Total comments: 24
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+456 lines, -394 lines) |
Patch |
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
|
View
|
1
2
3
4
5
6
|
10 chunks |
+80 lines, -43 lines |
0 comments
|
Download
|
 |
M |
chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerTest.java
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_ui_manager_android.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_ui_manager_android.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+45 lines, -181 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/persistent_notification_delegate.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/persistent_notification_delegate.cc
|
View
|
5
6
7
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/platform_notification_service_impl.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/platform_notification_service_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+30 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/platform_notification_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/notifications/notification_event_dispatcher_impl.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/notifications/notification_event_dispatcher_impl.cc
|
View
|
|
5 chunks |
+57 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/browser/notifications/notification_message_filter.h
|
View
|
1
2
3
4
|
5 chunks |
+32 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/notifications/notification_message_filter.cc
|
View
|
1
2
3
4
|
5 chunks |
+108 lines, -35 lines |
0 comments
|
Download
|
 |
M |
content/child/notifications/notification_manager.cc
|
View
|
1
2
3
4
|
2 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/platform_notification_messages.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/notification_event_dispatcher.h
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/platform_notification_service.h
|
View
|
1
2
3
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/common/persistent_notification_status.h
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/shell/browser/layout_test/layout_test_notification_manager.h
|
View
|
1
2
|
4 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/layout_test/layout_test_notification_manager.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -12 lines |
0 comments
|
Download
|
Total messages: 31 (9 generated)
|