|
Implement a permission check for push.
Extracted common functionality from the midi permission check.
A subsequent CL will move the common classes to chrome/browser/content_settings/
and implement the midi permission check in terms of these classes.
Note that bubbles are not yet implemented so only infobars work now.
Note also that only way to rever the permission decision right now
is to clear browser settings.
BUG= 350378
NOTRY=true
(note, the mac release bot has been stuck for over an hour in the compile step, all other release builds and all other mac bots are ok)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279437
Total comments: 25
Total comments: 23
Total comments: 56
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+697 lines, -17 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/content_settings_default_provider.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/content_settings_policy_provider.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/content_settings_utils.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/permission_queue_controller.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/content_settings.html
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/content_settings_exceptions_area.html
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/permission_context_base.h
|
View
|
1
2
3
4
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/permission_context_base.cc
|
View
|
1
2
3
4
|
1 chunk |
+111 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/permission_infobar_delegate.h
|
View
|
1
2
3
4
5
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/permission_infobar_delegate.cc
|
View
|
1
2
3
4
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/push_messaging_infobar_delegate.h
|
View
|
1
2
3
4
5
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
|
View
|
1
2
3
4
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/push_messaging_permission_context.h
|
View
|
1
2
3
4
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/push_messaging_permission_context.cc
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/push_messaging_permission_context_factory.h
|
View
|
1
2
3
4
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/services/gcm/push_messaging_permission_context_factory.cc
|
View
|
1
2
3
4
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/push_messaging_service_impl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/services/gcm/push_messaging_service_impl.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+64 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/content_settings_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/content_settings_types.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/push_messaging_message_filter.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/push_messaging_message_filter.cc
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/push_messaging_service.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 34 (1 generated)
|