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

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

Issue 16172005: Clean up async app launcher enabled checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 7 years, 7 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 | « chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc ('k') | no next file » | 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.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index 19516330eb62082ec17aa70965c49cb04956ba90..227cac73eb7a2a4552af0ad280eae21e7170da5c 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -349,7 +349,7 @@ void NTPResourceCache::CreateNewTabHTML() {
std::string app_launcher_promo_group_name =
base::FieldTrialList::FindFullName(apps::kLauncherPromoTrialName);
bool show_app_launcher_promo =
- !apps::MaybeIsAppLauncherEnabled() &&
+ !apps::IsAppLauncherEnabled() &&
local_state->GetBoolean(apps::prefs::kShowAppLauncherPromo) &&
(app_launcher_promo_group_name == apps::kShowLauncherPromoOnceGroupName ||
app_launcher_promo_group_name ==
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698