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

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

Issue 13926002: Always show the NTP apps page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index 455f190147936336b3168573b29933dc042efdff..cc4b81785fefa26cc804f66ca0ba41060b1304aa 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -214,7 +214,7 @@ bool NTPResourceCache::NewTabCacheNeedsRefresh() {
return true;
}
#endif
- bool should_show_apps_page = !apps::WasAppLauncherEnabled();
+ bool should_show_apps_page = NewTabUI::ShouldShowApps();
if (should_show_apps_page != should_show_apps_page_) {
should_show_apps_page_ = should_show_apps_page;
return true;
« chrome/browser/ui/webui/ntp/new_tab_ui.cc ('K') | « chrome/browser/ui/webui/ntp/ntp_resource_cache.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698