| Index: chrome/browser/sync/test/integration/sync_extension_helper.cc
|
| diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.cc b/chrome/browser/sync/test/integration/sync_extension_helper.cc
|
| index 8fcfd610e1d441759cad542de746eeee5d194caa..55322dbea6aad4583297832a077cc9f9da68faba 100644
|
| --- a/chrome/browser/sync/test/integration/sync_extension_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/sync_extension_helper.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/memory/ptr_util.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| +#include "base/threading/thread_restrictions.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| #include "chrome/browser/extensions/extension_util.h"
|
| @@ -84,6 +85,7 @@ void SyncExtensionHelper::SetupIfNecessary(SyncTest* test) {
|
|
|
| std::string SyncExtensionHelper::InstallExtension(
|
| Profile* profile, const std::string& name, Manifest::Type type) {
|
| + base::ThreadRestrictions::ScopedAllowIO allow_io;
|
| scoped_refptr<Extension> extension = GetExtension(profile, name, type);
|
| if (!extension.get()) {
|
| NOTREACHED() << "Could not install extension " << name;
|
|
|