| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index 8065cfd260aec6f66caec2e7f1bf35d2cfe9414b..b735004d25a0577d82d4f843f0f7109a8782897e 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -20,6 +20,7 @@
|
| #include "base/third_party/nss/sha256.h"
|
| #include "base/string_number_conversions.h"
|
| #include "base/utf_string_conversions.h"
|
| +#include "base/values.h"
|
| #include "base/version.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_switches.h"
|
| @@ -1772,3 +1773,18 @@ bool Extension::IsAPIPermission(const std::string& str) {
|
| }
|
| return false;
|
| }
|
| +
|
| +ExtensionInfo::ExtensionInfo(const DictionaryValue* manifest,
|
| + const std::string& id,
|
| + const FilePath& path,
|
| + Extension::Location location)
|
| + : extension_id(id),
|
| + extension_path(path),
|
| + extension_location(location) {
|
| + if (manifest)
|
| + extension_manifest.reset(
|
| + static_cast<DictionaryValue*>(manifest->DeepCopy()));
|
| +}
|
| +
|
| +ExtensionInfo::~ExtensionInfo() {
|
| +}
|
|
|