| Index: chrome/browser/extensions/unpacked_installer.cc
|
| diff --git a/chrome/browser/extensions/unpacked_installer.cc b/chrome/browser/extensions/unpacked_installer.cc
|
| index f812a2f5f368e2391f6404ffb8128699c844337f..463f7d4ba9550f9b44c192ed0d5be41d496072ff 100644
|
| --- a/chrome/browser/extensions/unpacked_installer.cc
|
| +++ b/chrome/browser/extensions/unpacked_installer.cc
|
| @@ -258,9 +258,13 @@ int UnpackedInstaller::GetFlags() {
|
| if (prefs->HasAllowFileAccessSetting(id))
|
| allow_file_access = prefs->AllowFileAccess(id);
|
|
|
| + bool installed_by_custodian = prefs->WasInstalledByCustodian(id);
|
| +
|
| int result = Extension::FOLLOW_SYMLINKS_ANYWHERE;
|
| if (allow_file_access)
|
| result |= Extension::ALLOW_FILE_ACCESS;
|
| + if (installed_by_custodian)
|
| + result |= Extension::WAS_INSTALLED_BY_CUSTODIAN;
|
| if (require_modern_manifest_version_)
|
| result |= Extension::REQUIRE_MODERN_MANIFEST_VERSION;
|
|
|
|
|