Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index f8a99437c864cc2a7c13e7ff4df043fc7f26eb11..3cd256d7ac1ce40170815a4f781432d874b5a501 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -369,10 +369,12 @@ Browser::Browser(Type type, Profile* profile) |
content::Source<Profile>(profile_->GetOriginalProfile())); |
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_PROCESS_TERMINATED, |
content::NotificationService::AllSources()); |
+#if !defined(OS_ANDROID) |
registrar_.Add( |
Yaron
2012/02/29 00:02:17
Please add TODO(yfriedman): Remove this ifdef when
|
this, chrome::NOTIFICATION_BROWSER_THEME_CHANGED, |
content::Source<ThemeService>( |
ThemeServiceFactory::GetForProfile(profile_))); |
+#endif |
registrar_.Add(this, chrome::NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, |
content::NotificationService::AllSources()); |
@@ -5592,6 +5594,7 @@ void Browser::UpdateBookmarkBarState(BookmarkBarStateChangeReason reason) { |
} |
void Browser::ShowSyncSetup() { |
+#if !defined(OS_ANDROID) |
ProfileSyncService* service = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile( |
profile()->GetOriginalProfile()); |
@@ -5610,6 +5613,7 @@ void Browser::ShowSyncSetup() { |
LoginUIServiceFactory::GetForProfile( |
profile()->GetOriginalProfile())->ShowLoginUI(); |
} |
+#endif |
} |
void Browser::ToggleSpeechInput() { |