| Index: chrome/common/extensions/manifest.cc
|
| diff --git a/chrome/common/extensions/manifest.cc b/chrome/common/extensions/manifest.cc
|
| index cb4e1b0219173eb1ddb4b665e193a64355209150..f17f4c6303fe39246bf15f0f417869fd3c668e4d 100644
|
| --- a/chrome/common/extensions/manifest.cc
|
| +++ b/chrome/common/extensions/manifest.cc
|
| @@ -124,11 +124,21 @@ bool Manifest::GetString(
|
| }
|
|
|
| bool Manifest::GetDictionary(
|
| + const std::string& path, const DictionaryValue** out_value) const {
|
| + return GetDictionary(path, const_cast<DictionaryValue**>(out_value));
|
| +}
|
| +
|
| +bool Manifest::GetDictionary(
|
| const std::string& path, DictionaryValue** out_value) const {
|
| return CanAccessPath(path) && value_->GetDictionary(path, out_value);
|
| }
|
|
|
| bool Manifest::GetList(
|
| + const std::string& path, const ListValue** out_value) const {
|
| + return GetList(path, const_cast<ListValue**>(out_value));
|
| +}
|
| +
|
| +bool Manifest::GetList(
|
| const std::string& path, ListValue** out_value) const {
|
| return CanAccessPath(path) && value_->GetList(path, out_value);
|
| }
|
|
|