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 105ac6bd96c8944b479243d4ce37c74a57ab95c1..082177c7aeeb08d7be2113afe64f6671617602c7 100644 |
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
@@ -497,13 +497,11 @@ void NTPResourceCache::CreateNewTabHTML() { |
load_time_data.SetBoolean("showWebStoreIcon", |
!prefs->GetBoolean(prefs::kHideWebStoreIcon)); |
- bool streamlined_hosted_apps = |
- extensions::util::IsStreamlinedHostedAppsEnabled(); |
- load_time_data.SetBoolean("enableStreamlinedHostedApps", |
- streamlined_hosted_apps); |
- // Use a different string for launching as a regular tab for streamlined |
- // hosted apps. |
- if (streamlined_hosted_apps) { |
+ bool bookmark_apps_enabled = extensions::util::IsNewBookmarkAppsEnabled(); |
+ load_time_data.SetBoolean("enableNewBookmarkApps", bookmark_apps_enabled); |
+ // Use a different string for launching as a regular tab when bookmark apps |
+ // are enabled. |
+ if (bookmark_apps_enabled) { |
load_time_data.SetString("applaunchtypetab", |
l10n_util::GetStringUTF16(IDS_APP_CONTEXT_MENU_OPEN_TAB)); |
} |