Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: Chromeos fix Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm
diff --git a/ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm b/ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm
index 3e65ca43087cf7a6832d15837f470c22315d7a5f..428b82608422fb98e95a02498431f9c35862181c 100644
--- a/ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm
+++ b/ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm
@@ -98,7 +98,7 @@ bool SyncErrorInfoBarDelegate::Accept() {
return false;
}
-void SyncErrorInfoBarDelegate::OnStateChanged() {
+void SyncErrorInfoBarDelegate::OnStateChanged(syncer::SyncService* sync) {
// If the inforbar is in the process of being removed, nothing must be done.
infobars::InfoBar* infobar = this->infobar();
if (!infobar)

Powered by Google App Engine
This is Rietveld 408576698