| Index: chrome/browser/extensions/unpacked_installer.cc
|
| diff --git a/chrome/browser/extensions/unpacked_installer.cc b/chrome/browser/extensions/unpacked_installer.cc
|
| index 6fd2f9baaafc0472453e367d73e3b3eed4839069..b8808742afadc4be099cba8d97e97b6fd611b514 100644
|
| --- a/chrome/browser/extensions/unpacked_installer.cc
|
| +++ b/chrome/browser/extensions/unpacked_installer.cc
|
| @@ -29,6 +29,7 @@
|
| #include "extensions/common/file_util.h"
|
| #include "extensions/common/manifest.h"
|
| #include "extensions/common/manifest_handlers/shared_module_info.h"
|
| +#include "extensions/common/permissions/permissions_data.h"
|
| #include "sync/api/string_ordinal.h"
|
|
|
| using content::BrowserThread;
|
| @@ -168,6 +169,7 @@ bool UnpackedInstaller::LoadFromCommandLine(const base::FilePath& path_in,
|
| return false;
|
| }
|
|
|
| + extension()->permissions_data()->BindToCurrentThread();
|
| PermissionsUpdater(
|
| service_weak_->profile(), PermissionsUpdater::INIT_FLAG_TRANSIENT)
|
| .InitializePermissions(extension());
|
|
|