• Xiyuan Xia's avatar
    Reland "Fix missing sync error notification pop-up" · 75edba48
    Xiyuan Xia authored
    - Only MarkSinglePopupAsShown of already shown pup-ups;
    - Make LoginStateNotificationBlocker to defer showing notifications
      until the active user PrefService is initialized. This allows
      Shelf to apply user prefs first so that WebNotificationTray does
      not HidePopupBubble when user PrefService is initialized sometime
      later after session state changes to active;
    
    Bug: 721717
    Change-Id: I86e9978be7b56e92ce847f0086a5fa2e4f6b72db
    Reviewed-on: https://chromium-review.googlesource.com/782359
    Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
    Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#518406}
    75edba48
notification_list.cc 10.3 KB