Index: chrome/browser/web_applications/web_app.cc |
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc |
index 5397c1dc0be51039032afca514a3ee3908276404..68d02f2d23c43312c84258dd41d741029b56005a 100644 |
--- a/chrome/browser/web_applications/web_app.cc |
+++ b/chrome/browser/web_applications/web_app.cc |
@@ -237,11 +237,8 @@ ShortcutInfo::~ShortcutInfo() {} |
ShortcutLocations::ShortcutLocations() |
: on_desktop(false), |
applications_menu_location(APP_MENU_LOCATION_NONE), |
- in_quick_launch_bar(false) |
-#if defined(OS_POSIX) |
- , hidden(false) |
-#endif |
- { |
+ in_quick_launch_bar(false), |
+ hidden(false) { |
} |
void GetShortcutInfoForTab(content::WebContents* web_contents, |
@@ -298,8 +295,9 @@ void UpdateShortcutInfoAndIconForApp(const extensions::Extension* extension, |
bool ShouldCreateShortcutFor(Profile* profile, |
const extensions::Extension* extension) { |
return extension->is_platform_app() && |
- extension->location() != extensions::Manifest::COMPONENT && |
- extensions::ui_util::ShouldDisplayInAppLauncher(extension, profile); |
+ extension->location() != extensions::Manifest::COMPONENT && |
+ extensions::ui_util::ShouldDisplayInAppLauncherIgnoreEphemeral( |
+ extension, profile); |
} |
base::FilePath GetWebAppDataDirectory(const base::FilePath& profile_path, |