| Index: chrome/browser/extensions/extensions_service.cc
|
| diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc
|
| index 3259c113e2fa701c980d73aa7ed6906f9932355e..9c509d40385920733bf5414045a1b77f19354864 100644
|
| --- a/chrome/browser/extensions/extensions_service.cc
|
| +++ b/chrome/browser/extensions/extensions_service.cc
|
| @@ -975,6 +975,11 @@ void ExtensionsService::OnExtensionInstalled(Extension* extension,
|
| extension_prefs_->OnExtensionInstalled(
|
| extension, initial_state, initial_enable_incognito);
|
|
|
| + // Unpacked extensions start off with file access since they are a developer
|
| + // feature.
|
| + if (extension->location() == Extension::LOAD)
|
| + extension_prefs_->SetAllowFileAccess(extension->id(), true);
|
| +
|
| // If the extension is a theme, tell the profile (and therefore ThemeProvider)
|
| // to apply it.
|
| if (extension->is_theme()) {
|
|
|