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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.h

Issue 9558014: Add an android specific ntp resource cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 10 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 | « no previous file | chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.h
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.h b/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
index 382e2259c4d7da3065895bcb6e0f5972ab0a5fe0..a9842cb9d726a9e498859d3285bad89a93414d36 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
@@ -37,14 +37,16 @@ class NTPResourceCache : public content::NotificationObserver,
private:
Profile* profile_;
+ void CreateNewTabHTML();
+ scoped_refptr<RefCountedMemory> new_tab_html_;
+
+#if !defined(OS_ANDROID)
// Returns a message describing any newly-added sync types, or an empty
// string if all types have already been acknowledged.
string16 GetSyncTypeMessage();
void CreateNewTabIncognitoHTML();
scoped_refptr<RefCountedMemory> new_tab_incognito_html_;
- void CreateNewTabHTML();
- scoped_refptr<RefCountedMemory> new_tab_html_;
void CreateNewTabIncognitoCSS();
scoped_refptr<RefCountedMemory> new_tab_incognito_css_;
@@ -53,6 +55,7 @@ class NTPResourceCache : public content::NotificationObserver,
content::NotificationRegistrar registrar_;
PrefChangeRegistrar pref_change_registrar_;
+#endif
DISALLOW_COPY_AND_ASSIGN(NTPResourceCache);
};
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698