| Index: chrome/browser/extensions/installed_loader.cc
|
| diff --git a/chrome/browser/extensions/installed_loader.cc b/chrome/browser/extensions/installed_loader.cc
|
| index 8c98b77b833c4df46466231fe61dcde78502522b..322478760459409eb89a8aa64d26ef78cc4d35e7 100644
|
| --- a/chrome/browser/extensions/installed_loader.cc
|
| +++ b/chrome/browser/extensions/installed_loader.cc
|
| @@ -303,15 +303,11 @@ void InstalledLoader::LoadAllExtensions() {
|
| }
|
|
|
| int InstalledLoader::GetCreationFlags(const ExtensionInfo* info) {
|
| - int flags = Extension::NO_FLAGS;
|
| + int flags = extension_prefs_->GetCreationFlags(info->extension_id);
|
| if (info->extension_location != Extension::LOAD)
|
| flags |= Extension::REQUIRE_KEY;
|
| if (extension_prefs_->AllowFileAccess(info->extension_id))
|
| flags |= Extension::ALLOW_FILE_ACCESS;
|
| - if (extension_prefs_->IsFromWebStore(info->extension_id))
|
| - flags |= Extension::FROM_WEBSTORE;
|
| - if (extension_prefs_->IsFromBookmark(info->extension_id))
|
| - flags |= Extension::FROM_BOOKMARK;
|
| return flags;
|
| }
|
|
|
|
|