|
|
[Sync] Make InvalidationNotifier use PushClient
This removes a lot of duplicated code and unifies the two main
SyncNotifier implementations (P2P and Invalidation) to use the same
underlying transport layer.
Replace CacheInvalidationPacketHandler and ChromeNetwork with PushClientChannel.
Add PushClient::CreateDefaultOnIOThread which creates
an XmppPushClient directly.
BUG= 76764
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139508
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+594 lines, -492 lines) |
Patch |
 |
M |
jingle/notifier/communicator/single_login_attempt.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/push_client.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/push_client.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/push_client_unittest.cc
|
View
|
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
D |
sync/notifier/cache_invalidation_packet_handler.h
|
View
|
|
1 chunk |
+0 lines, -86 lines |
0 comments
|
Download
|
 |
D |
sync/notifier/cache_invalidation_packet_handler.cc
|
View
|
|
1 chunk |
+0 lines, -126 lines |
0 comments
|
Download
|
 |
D |
sync/notifier/cache_invalidation_packet_handler_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -77 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/chrome_invalidation_client.h
|
View
|
|
5 chunks |
+10 lines, -13 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/chrome_invalidation_client.cc
|
View
|
|
4 chunks |
+11 lines, -17 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/chrome_invalidation_client_unittest.cc
|
View
|
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/chrome_system_resources.h
|
View
|
|
4 chunks |
+9 lines, -34 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/chrome_system_resources.cc
|
View
|
|
3 chunks |
+7 lines, -52 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/chrome_system_resources_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidation_notifier.h
|
View
|
|
5 chunks |
+5 lines, -16 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidation_notifier.cc
|
View
|
|
4 chunks |
+13 lines, -54 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidation_notifier_unittest.cc
|
View
|
|
3 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/non_blocking_invalidation_notifier.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
sync/notifier/push_client_channel.h
|
View
|
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/notifier/push_client_channel.cc
|
View
|
|
1 chunk |
+151 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/notifier/push_client_channel_unittest.cc
|
View
|
|
1 chunk |
+247 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sync.gyp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|