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

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: Added a flag enable_promo_resource_service 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 5587743b2a548ae9e0a21352d996dbe0c5e9b8e5..26474c78de6c9fb53ae388d4bb48b820cd3b1967 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -429,11 +429,13 @@ void ProfileImpl::InitHostZoomMap() {
}
void ProfileImpl::InitPromoResources() {
+#if !defined(OS_ANDROID)
Yaron 2012/04/09 18:31:54 Change if-def to ENABLE_*.
Jerome 2012/04/09 20:10:52 Done.
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