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

Unified Diff: chrome/browser/web_resource/notification_promo_mobile_ntp.h

Issue 11689004: Move PromoResourceService from Profile to BrowserProcessImpl/local_state(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android x 4 Created 8 years 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/web_resource/notification_promo_mobile_ntp.h
diff --git a/chrome/browser/web_resource/notification_promo_mobile_ntp.h b/chrome/browser/web_resource/notification_promo_mobile_ntp.h
index 90ce5fda66ae572488c737f341ec2848710901ce..99ec3584741ce233f84695c84fa7c03fed4271f9 100644
--- a/chrome/browser/web_resource/notification_promo_mobile_ntp.h
+++ b/chrome/browser/web_resource/notification_promo_mobile_ntp.h
@@ -10,7 +10,7 @@
#include "base/basictypes.h"
#include "chrome/browser/web_resource/notification_promo.h"
-class Profile;
+class PrefServiceSimple;
namespace base {
class DictionaryValue;
@@ -20,7 +20,7 @@ class ListValue;
// Helper class for NotificationPromo that deals with mobile_ntp promos.
class NotificationPromoMobileNtp {
public:
- explicit NotificationPromoMobileNtp(Profile* profile_);
+ explicit NotificationPromoMobileNtp(PrefServiceSimple* prefs);
~NotificationPromoMobileNtp();
// Initialize from prefs/JSON.

Powered by Google App Engine
This is Rietveld 408576698