| Index: chrome/browser/sync/engine/syncapi.cc
|
| ===================================================================
|
| --- chrome/browser/sync/engine/syncapi.cc (revision 29293)
|
| +++ chrome/browser/sync/engine/syncapi.cc (working copy)
|
| @@ -1400,8 +1400,10 @@
|
| }
|
|
|
| // TODO(chron): Consider changing this back to track HasMoreToSync
|
| - // Only notify peers if a commit has occurred and change the bookmark model.
|
| - if (event.last_session && event.last_session->items_committed()) {
|
| + // Only notify peers if a successful commit has occurred.
|
| + if (event.last_session && event.last_session->HadSuccessfulCommits()) {
|
| + // We use a member variable here because talk may not have connected yet.
|
| + // The notification must be stored until it can be sent.
|
| notification_pending_ = true;
|
| }
|
|
|
|
|