|
Fix broken threading model in CheckDesktopNotificationPermission
Over time, this function (which is called on the IO thread) was updated
to use DesktopNotificationService. While the methods in that service
were enforced to run on the correct thread, it's not possible to get
the notification service from the ProfileIOData safely. This removes the
dependency on DesktopNotificationService from the IO-thread notification
functions.
BUG= 256638
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234886
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+141 lines, -148 lines) |
Patch |
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+29 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_protocols_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_system.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+24 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/desktop_notification_service.h
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/desktop_notification_service.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/desktop_notification_service_unittest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -37 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_io_data.h
|
View
|
1
2
3
4
5
|
4 chunks |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_io_data.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+0 lines, -22 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/info_map.h
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/info_map.cc
|
View
|
1
2
3
4
|
3 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/info_map_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+19 lines, -7 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|