| Index: chrome/browser/extensions/extension_util.cc
|
| diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
|
| index abf76f36e855b5d167f7b742b33eeab3c8a15899..c1e1c174b650f0bd1206079b6c143e326ee05066 100644
|
| --- a/chrome/browser/extensions/extension_util.cc
|
| +++ b/chrome/browser/extensions/extension_util.cc
|
| @@ -366,6 +366,15 @@ bool IsNewBookmarkAppsEnabled() {
|
| #endif
|
| }
|
|
|
| +bool CanHostedAppsOpenInWindows() {
|
| +#if defined(OS_MACOSX)
|
| + return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableHostedAppsInWindows);
|
| +#else
|
| + return true;
|
| +#endif
|
| +}
|
| +
|
| bool IsExtensionSupervised(const Extension* extension, Profile* profile) {
|
| return extension->was_installed_by_custodian() && profile->IsSupervised();
|
| }
|
|
|