|
[Push] Register: require user-visible to be present in the manifest
Prompt for notifications if the Notification permission was not
previously granted.
Refactor a bit the browser tests to accomodate pages with
different manifests.
BUG= 432930
TBR=fgorski
Committed: https://crrev.com/202115f03eb3c90a7139e69e0a1cb2062c0754cf
Cr-Commit-Position: refs/heads/master@{#308075}
Total comments: 4
Total comments: 16
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+297 lines, -330 lines) |
Patch |
 |
M |
chrome/browser/content_settings/permission_context_base_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/permission_queue_controller.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/push_messaging_browsertest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+33 lines, -6 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/services/gcm/push_messaging_infobar_delegate.h
|
View
|
|
1 chunk |
+0 lines, -49 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/push_messaging_permission_context.h
|
View
|
1
2
3
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/push_messaging_permission_context.cc
|
View
|
1
2
3
|
5 chunks |
+56 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/push_messaging_permission_context_unittest.cc
|
View
|
1
|
3 chunks |
+52 lines, -63 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/push_messaging_service_impl.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/push_messaging/manifest.json
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/push_messaging/manifest_without_user_visible_only.json
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/test/data/push_messaging/push_test.js
|
View
|
1
2
3
4
|
1 chunk |
+121 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/push_messaging/test.html
|
View
|
1
2
|
1 chunk |
+1 line, -117 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/push_messaging/test_bad_manifest.html
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 27 (8 generated)
|