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

Unified Diff: chrome/browser/web_resource/promo_resource_service.cc

Issue 10825093: Fix regression due to deprecated promo preference. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « chrome/browser/web_resource/promo_resource_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_resource/promo_resource_service.cc
===================================================================
--- chrome/browser/web_resource/promo_resource_service.cc (revision 149217)
+++ chrome/browser/web_resource/promo_resource_service.cc (working copy)
@@ -186,9 +186,3 @@
notification_promo.EndTime());
}
}
-
-bool PromoResourceService::CanShowNotificationPromo(Profile* profile) {
- NotificationPromo notification_promo(profile);
- notification_promo.InitFromPrefs();
- return notification_promo.CanShow();
-}
« no previous file with comments | « chrome/browser/web_resource/promo_resource_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698