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

Unified Diff: chrome/browser/extensions/app_notify_channel_ui.cc

Issue 10031002: Allow extension APIs to be compiled out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add extensions_api_resources resources to windows targets Created 8 years, 8 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
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/extensions/extension_disabled_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/extensions/extension_disabled_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698