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

Unified Diff: chrome/browser/ui/browser.cc

Issue 9515010: Chrome on Android : Begin removing references to themes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/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() {

Powered by Google App Engine
This is Rietveld 408576698