| Index: chrome/utility/extensions/unpacker.cc
|
| diff --git a/chrome/utility/extensions/unpacker.cc b/chrome/utility/extensions/unpacker.cc
|
| index 4a149877674ef79ea64947bf9a7c32e76cc6d8bd..c2ccb0d465e780d535992b303b2b8006ff2a97c5 100644
|
| --- a/chrome/utility/extensions/unpacker.cc
|
| +++ b/chrome/utility/extensions/unpacker.cc
|
| @@ -25,6 +25,7 @@
|
| #include "extensions/common/constants.h"
|
| #include "extensions/common/extension.h"
|
| #include "extensions/common/extension_l10n_util.h"
|
| +#include "extensions/common/file_util.h"
|
| #include "extensions/common/manifest.h"
|
| #include "extensions/common/manifest_constants.h"
|
| #include "grit/generated_resources.h"
|
| @@ -202,8 +203,7 @@ bool Unpacker::Run() {
|
| }
|
|
|
| std::vector<InstallWarning> warnings;
|
| - if (!extension_file_util::ValidateExtension(extension.get(),
|
| - &error, &warnings)) {
|
| + if (!file_util::ValidateExtension(extension.get(), &error, &warnings)) {
|
| SetError(error);
|
| return false;
|
| }
|
|
|