Index: chrome/browser/extensions/app_notify_channel_ui.cc |
diff --git a/chrome/browser/extensions/app_notify_channel_ui.cc b/chrome/browser/extensions/app_notify_channel_ui.cc |
index ba8ffbb87711937fa120d02fb53e0c55ddbbf8be..4217322c9a98f0d7ab1f742a9264f7420eee8855 100644 |
--- a/chrome/browser/extensions/app_notify_channel_ui.cc |
+++ b/chrome/browser/extensions/app_notify_channel_ui.cc |
@@ -135,6 +135,7 @@ void AppNotifyChannelUIImpl::OnInfoBarResult(bool accepted) { |
} |
void AppNotifyChannelUIImpl::OnStateChanged() { |
+#if !defined(OS_ANDROID) |
ProfileSyncService* sync_service = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile_); |
LoginUIService* login_service = |
@@ -153,6 +154,7 @@ void AppNotifyChannelUIImpl::OnStateChanged() { |
StopObservingSync(); |
delegate_->OnSyncSetupResult(sync_service->HasSyncSetupCompleted()); |
} |
+#endif // !defined(OS_ANDROID) |
} |
void AppNotifyChannelUIImpl::StartObservingSync() { |