|
[Sync] Fix race condition in P2PNotifier with sending notifications
Store any notifications sent when not connected and send them on
the next connect.
This fixes a race condition in the sync integration tests exposed
by the new syncer thread.
Make sending of notifications not be blocked on successful subscription.
Disable a failing test in jingle_unittests.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82140
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+193 lines, -36 lines) |
Patch |
 |
M |
chrome/browser/sync/notifier/p2p_notifier.cc
|
View
|
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
jingle/jingle.gyp
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/base/proxy_resolving_client_socket_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/mediator_thread_impl.h
|
View
|
1
2
3
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/mediator_thread_impl.cc
|
View
|
1
2
|
4 chunks |
+25 lines, -1 line |
0 comments
|
Download
|
 |
A |
jingle/notifier/listener/mediator_thread_unittest.cc
|
View
|
1
2
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/notification_defines.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
jingle/notifier/listener/notification_defines.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/talk_mediator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/talk_mediator_impl.h
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/talk_mediator_impl.cc
|
View
|
|
3 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
jingle/notifier/listener/talk_mediator_unittest.cc
|
View
|
|
2 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|