summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/ntp_resource_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/ntp_resource_cache.h')
-rw-r--r--chrome/browser/dom_ui/ntp_resource_cache.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/browser/dom_ui/ntp_resource_cache.h b/chrome/browser/dom_ui/ntp_resource_cache.h
index a39b962..5f36b91 100644
--- a/chrome/browser/dom_ui/ntp_resource_cache.h
+++ b/chrome/browser/dom_ui/ntp_resource_cache.h
@@ -22,6 +22,7 @@ class NTPResourceCache : public NotificationObserver {
virtual ~NTPResourceCache();
RefCountedBytes* GetNewTabHTML(bool is_off_the_record);
+ RefCountedBytes* GetNewTabCSS(bool is_off_the_record);
// NotificationObserver interface.
virtual void Observe(NotificationType type,
@@ -31,12 +32,16 @@ class NTPResourceCache : public NotificationObserver {
private:
Profile* profile_;
- void CreateNewTabIncognitoHtml();
+ void CreateNewTabIncognitoHTML();
scoped_refptr<RefCountedBytes> new_tab_incognito_html_;
-
- void CreateNewTabHtml();
+ void CreateNewTabHTML();
scoped_refptr<RefCountedBytes> new_tab_html_;
+ void CreateNewTabIncognitoCSS();
+ scoped_refptr<RefCountedBytes> new_tab_incognito_css_;
+ void CreateNewTabCSS();
+ scoped_refptr<RefCountedBytes> new_tab_css_;
+
NotificationRegistrar registrar_;
DISALLOW_COPY_AND_ASSIGN(NTPResourceCache);