|
Move push messaging out of services/gcm into it's own place
Push messaging is a client of gcm and not a part of it. To improve layering it
should live in a seperate directory. This CL moves files matching
chrome/browser/services/gcm/push_messaging_* into chrome/browser/push_messaging/,
move the classes out of the gcm namespace. It also restrains GCMProfileService
to be the owner of PushMessagingServiceImpl. Instead it became a KeyedService.
By making it such it became easy to clean up the dependencies and ownership concerns
between push messaging and gcm.
BUG= 402486
Committed: https://crrev.com/4596b516cf074ad33f7148d4a069b864487e9ff7
Cr-Commit-Position: refs/heads/master@{#319089}
Total comments: 3
Total comments: 18
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+236 lines, -3000 lines) |
Patch |
|
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/notifications/platform_notification_service_impl.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/browser_prefs.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/OWNERS
|
View
|
1
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_application_id.h
|
View
|
1
|
3 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_application_id.cc
|
View
|
1
2
3
|
3 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_application_id_unittest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_browsertest.cc
|
View
|
1
2
3
4
5
6
|
14 chunks |
+20 lines, -22 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_constants.h
|
View
|
1
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_constants.cc
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_permission_context.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_permission_context.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_permission_context_factory.h
|
View
|
1
2
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_permission_context_factory.cc
|
View
|
1
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_permission_context_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
A |
chrome/browser/push_messaging/push_messaging_service_factory.h
|
View
|
1
2
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/push_messaging/push_messaging_service_factory.cc
|
View
|
1
2
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_service_impl.h
|
View
|
1
2
3
4
5
6
|
9 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/push_messaging/push_messaging_service_impl.cc
|
View
|
1
2
3
4
5
6
7
|
24 chunks |
+59 lines, -81 lines |
0 comments
|
Download
|
|
M |
chrome/browser/services/gcm/OWNERS
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/services/gcm/fake_gcm_profile_service.cc
|
View
|
1
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/services/gcm/gcm_profile_service.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/services/gcm/gcm_profile_service.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -12 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_application_id.h
|
View
|
|
1 chunk |
+0 lines, -85 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_application_id.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -172 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_application_id_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_browsertest.cc
|
View
|
1
|
1 chunk |
+0 lines, -1013 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_constants.h
|
View
|
1
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_constants.cc
|
View
|
1
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_permission_context.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_permission_context.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -142 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_permission_context_factory.h
|
View
|
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_permission_context_factory.cc
|
View
|
|
1 chunk |
+0 lines, -49 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_permission_context_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -166 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_service_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -172 lines |
0 comments
|
Download
|
|
D |
chrome/browser/services/gcm/push_messaging_service_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -791 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 34 (7 generated)
|