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

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 9949033: Removed access to prefs that does not work on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 0ebfc0157cce468c45c4a565b028ed89d4a2e452..208aba163d7720c5ec5307adb4925ce3b448c36c 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -423,11 +423,13 @@ void ProfileImpl::InitHostZoomMap() {
}
void ProfileImpl::InitPromoResources() {
+#if !defined(OS_ANDROID)
if (promo_resource_service_)
return;
promo_resource_service_ = new PromoResourceService(this);
promo_resource_service_->StartAfterDelay();
+#endif
}
void ProfileImpl::InitRegisteredProtocolHandlers() {

Powered by Google App Engine
This is Rietveld 408576698