| Index: chrome/browser/dom_ui/ntp_resource_cache.h
|
| diff --git a/chrome/browser/dom_ui/ntp_resource_cache.h b/chrome/browser/dom_ui/ntp_resource_cache.h
|
| index f669325a227794d002660cca13ec7ba9467e558c..3cdc3e5d30f960e48ad5bed57aba6c9155364927 100644
|
| --- a/chrome/browser/dom_ui/ntp_resource_cache.h
|
| +++ b/chrome/browser/dom_ui/ntp_resource_cache.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/ref_counted.h"
|
| #include "chrome/common/notification_observer.h"
|
| #include "chrome/common/notification_registrar.h"
|
| +#include "chrome/browser/prefs/pref_change_registrar.h"
|
|
|
| class Profile;
|
| class RefCountedBytes;
|
| @@ -19,7 +20,7 @@ class RefCountedBytes;
|
| class NTPResourceCache : public NotificationObserver {
|
| public:
|
| explicit NTPResourceCache(Profile* profile);
|
| - virtual ~NTPResourceCache();
|
| + virtual ~NTPResourceCache() {}
|
|
|
| RefCountedBytes* GetNewTabHTML(bool is_off_the_record);
|
| RefCountedBytes* GetNewTabCSS(bool is_off_the_record);
|
| @@ -43,6 +44,7 @@ class NTPResourceCache : public NotificationObserver {
|
| scoped_refptr<RefCountedBytes> new_tab_css_;
|
|
|
| NotificationRegistrar registrar_;
|
| + PrefChangeRegistrar pref_change_registrar_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NTPResourceCache);
|
| };
|
|
|