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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 9836103: Fix most remaining WebUI link errors on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: about_flags Created 8 years, 9 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: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index da305a6de1320090366693a7581d8c6bcaf50d01..85340335ac7b57eea7e68f8a470e715b2ebbddeb 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -966,8 +966,11 @@ void ProfileSyncService::OnActionableError(const SyncProtocolError& error) {
}
void ProfileSyncService::ShowErrorUI() {
Andrew T Wilson (Slow) 2012/03/27 17:33:16 Might as well put a NOTREACHED here for android. T
Yaron 2012/03/27 19:06:52 Done.
+#if !defined(OS_ANDROID)
+ // Android uses native UI for sync setup.
// TODO(atwilson): Remove this.
LoginUIServiceFactory::GetForProfile(profile_)->ShowLoginUI(false);
+#endif
}
std::string ProfileSyncService::QuerySyncStatusSummary() {

Powered by Google App Engine
This is Rietveld 408576698