Chromium Code Reviews| 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 4514adc8e53c01016bb15b3b28aa62d632a1ac34..5611b1063dadb1a1c26ff556073a3ef60494e8cd 100644 |
| --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
| +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
| @@ -480,6 +480,11 @@ void NTPResourceCache::CreateNewTabHTML() { |
| bool bookmark_apps_enabled = extensions::util::IsNewBookmarkAppsEnabled(); |
| load_time_data.SetBoolean("enableNewBookmarkApps", bookmark_apps_enabled); |
| + bool hosted_apps_in_windows_enabled = |
|
Dan Beam
2015/08/22 06:36:21
nit: just inline this rather than creating a copy
|
| + extensions::util::CanHostedAppsOpenInWindows(); |
| + load_time_data.SetBoolean("canHostedAppsOpenInWindows", |
| + hosted_apps_in_windows_enabled); |
| + |
| load_time_data.SetBoolean("canShowAppInfoDialog", |
| CanShowAppInfoDialog()); |