|  | [Sync] Propagate XMPP auth errors to SyncNotifierObservers
Detect XMPP auth errors and add new notifications to SingleLoginAttempt
and Login.
Replace PushClientObserver::OnNotificationStateChange with
OnNotifications{Enabled,Disabled} notifications.
Change SyncNotifierObserver similarly.
Handle InvalidationClient errors and propagate auth errors from that,
too.
Propagate XMPP auth errors all the way up to SyncManager.  It will be
handled in a future CL.
BUG=38091 
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142806
  
   
  
   
      Total comments: 2
      
     
  
   
  
   
  
   
      Total comments: 1
      
     
    
  
  
    
      |  | Unified diffs | Side-by-side diffs | Delta from patch set | Stats (+711 lines, -238 lines) | Patch |  
        |  | M | chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc | View | 1
        
          2
        
          3 | 1 chunk | +5 lines, -1 line | 0 comments | Download |  
        |  | M | chrome/service/cloud_print/cloud_print_proxy_backend.cc | View | 1
        
          2
        
          3 | 2 chunks | +22 lines, -19 lines | 0 comments | Download |  
        |  | M | jingle/notifier/communicator/login.h | View | 1
        
          2
        
          3 | 4 chunks | +24 lines, -17 lines | 0 comments | Download |  
        |  | M | jingle/notifier/communicator/login.cc | View | 1
        
          2
        
          3 | 4 chunks | +19 lines, -5 lines | 0 comments | Download |  
        |  | M | jingle/notifier/communicator/single_login_attempt.h | View | 1
        
          2
        
          3 | 1 chunk | +18 lines, -1 line | 0 comments | Download |  
        |  | M | jingle/notifier/communicator/single_login_attempt.cc | View | 1
        
          2
        
          3 | 3 chunks | +11 lines, -1 line | 0 comments | Download |  
        |  | M | jingle/notifier/communicator/single_login_attempt_unittest.cc | View | 1
        
          2
        
          3 | 4 chunks | +24 lines, -10 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/fake_push_client.h | View | 1
        
          2
        
          3 | 2 chunks | +6 lines, -2 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/fake_push_client.cc | View | 1
        
          2
        
          3 | 1 chunk | +8 lines, -3 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/fake_push_client_observer.h | View | 1
        
          2
        
          3 | 1 chunk | +5 lines, -4 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/fake_push_client_observer.cc | View | 1
        
          2
        
          3
        
          4
        
          5 | 2 chunks | +11 lines, -6 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/non_blocking_push_client.h | View | 1
        
          2
        
          3 | 2 chunks | +3 lines, -1 line | 0 comments | Download |  
        |  | M | jingle/notifier/listener/non_blocking_push_client.cc | View | 1
        
          2
        
          3 | 4 chunks | +25 lines, -10 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/non_blocking_push_client_unittest.cc | View | 1
        
          2
        
          3
        
          4
        
          5 | 1 chunk | +9 lines, -5 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/push_client_observer.h | View | 1
        
          2
        
          3
        
          4
        
          5 | 1 chunk | +21 lines, -7 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/xmpp_push_client.h | View | 1
        
          2
        
          3 | 3 chunks | +4 lines, -3 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/xmpp_push_client.cc | View | 1
        
          2
        
          3
        
          4
        
          5 | 2 chunks | +12 lines, -4 lines | 0 comments | Download |  
        |  | M | jingle/notifier/listener/xmpp_push_client_unittest.cc | View | 1
        
          2
        
          3
        
          4
        
          5 | 5 chunks | +18 lines, -7 lines | 0 comments | Download |  
        |  | M | sync/internal_api/public/engine/sync_status.h | View | 1
        
          2
        
          3 | 1 chunk | +2 lines, -0 lines | 0 comments | Download |  
        |  | M | sync/internal_api/public/sync_manager.h | View | 1
        
          2
        
          3
        
          4
        
          5 | 1 chunk | +3 lines, -2 lines | 0 comments | Download |  
        |  | M | sync/internal_api/sync_manager.cc | View | 1
        
          2
        
          3
        
          4
        
          5 | 5 chunks | +46 lines, -20 lines | 0 comments | Download |  
        |  | M | sync/internal_api/syncapi_unittest.cc | View | 1
        
          2
        
          3
        
          4 | 1 chunk | +9 lines, -6 lines | 0 comments | Download |  
        |  | M | sync/notifier/chrome_invalidation_client.h | View | 1
        
          2
        
          3
        
          4 | 6 chunks | +28 lines, -4 lines | 1 comment | Download |  
        |  | M | sync/notifier/chrome_invalidation_client.cc | View | 1
        
          2
        
          3
        
          4 | 5 chunks | +83 lines, -25 lines | 0 comments | Download |  
        |  | M | sync/notifier/chrome_invalidation_client_unittest.cc | View | 1
        
          2
        
          3
        
          4
        
          5 | 6 chunks | +75 lines, -11 lines | 0 comments | Download |  
        |  | M | sync/notifier/invalidation_notifier.h | View | 1
        
          2
        
          3
        
          4 | 1 chunk | +3 lines, -1 line | 0 comments | Download |  
        |  | M | sync/notifier/invalidation_notifier.cc | View | 1
        
          2
        
          3 | 1 chunk | +13 lines, -4 lines | 0 comments | Download |  
        |  | M | sync/notifier/invalidation_notifier_unittest.cc | View | 1
        
          2
        
          3
        
          4 | 2 chunks | +10 lines, -4 lines | 0 comments | Download |  
        |  | M | sync/notifier/mock_sync_notifier_observer.h | View | 1
        
          2
        
          3 | 1 chunk | +2 lines, -1 line | 0 comments | Download |  
        |  | M | sync/notifier/non_blocking_invalidation_notifier.h | View | 1
        
          2
        
          3
        
          4 | 1 chunk | +3 lines, -1 line | 0 comments | Download |  
        |  | M | sync/notifier/non_blocking_invalidation_notifier.cc | View | 1
        
          2
        
          3
        
          4 | 3 chunks | +32 lines, -19 lines | 0 comments | Download |  
        |  | M | sync/notifier/non_blocking_invalidation_notifier_unittest.cc | View | 1
        
          2
        
          3
        
          4 | 1 chunk | +10 lines, -4 lines | 0 comments | Download |  
        |  | A | sync/notifier/notifications_disabled_reason.h | View | 1
        
          2
        
          3
        
          4 | 1 chunk | +33 lines, -0 lines | 0 comments | Download |  
        |  | A | sync/notifier/notifications_disabled_reason.cc | View | 1
        
          2
        
          3
        
          4
        
          5 | 1 chunk | +41 lines, -0 lines | 0 comments | Download |  
        |  | M | sync/notifier/p2p_notifier.h | View | 1
        
          2
        
          3 | 3 chunks | +4 lines, -3 lines | 0 comments | Download |  
        |  | M | sync/notifier/p2p_notifier.cc | View | 1
        
          2
        
          3 | 2 chunks | +16 lines, -7 lines | 0 comments | Download |  
        |  | M | sync/notifier/p2p_notifier_unittest.cc | View | 1
        
          2
        
          3 | 4 chunks | +4 lines, -4 lines | 0 comments | Download |  
        |  | M | sync/notifier/push_client_channel.h | View | 1
        
          2
        
          3 | 2 chunks | +5 lines, -1 line | 0 comments | Download |  
        |  | M | sync/notifier/push_client_channel.cc | View | 1
        
          2
        
          3 | 1 chunk | +11 lines, -3 lines | 0 comments | Download |  
        |  | M | sync/notifier/push_client_channel_unittest.cc | View | 1
        
          2
        
          3
        
          4
        
          5 | 1 chunk | +10 lines, -4 lines | 0 comments | Download |  
        |  | M | sync/notifier/sync_notifier_observer.h | View | 1
        
          2
        
          3 | 2 chunks | +11 lines, -3 lines | 0 comments | Download |  
        |  | M | sync/sync.gyp | View | 1
        
          2
        
          3
        
          4 | 1 chunk | +2 lines, -0 lines | 0 comments | Download |  
        |  | M | sync/tools/sync_listen_notifications.cc | View | 1
        
          2
        
          3 | 2 chunks | +10 lines, -5 lines | 0 comments | Download |  
    Total messages: 11 (0 generated)
     |