Chromium Code Reviews| Index: chrome/common/extensions/manifest.cc |
| diff --git a/chrome/common/extensions/manifest.cc b/chrome/common/extensions/manifest.cc |
| index b57e16df0d328e6b24b1479d8d803edbbda22da2..a02bb53e69d7158bb7ce8fe6b00c0ba9ab1307d3 100644 |
| --- a/chrome/common/extensions/manifest.cc |
| +++ b/chrome/common/extensions/manifest.cc |
| @@ -142,8 +142,8 @@ bool Manifest::ValidateManifest( |
| // checking to let developers know when they screw up. |
| FeatureProvider* provider = BaseFeatureProvider::GetByName("manifest"); |
| - std::set<std::string> feature_names = provider->GetAllFeatureNames(); |
| - for (std::set<std::string>::iterator feature_name = feature_names.begin(); |
| + std::vector<std::string> feature_names = provider->GetAllFeatureNames(); |
|
not at google - send to devlin
2013/05/24 19:09:18
also const&
cduvall
2013/05/30 00:50:51
Done.
|
| + for (std::vector<std::string>::iterator feature_name = feature_names.begin(); |
| feature_name != feature_names.end(); ++feature_name) { |
| // Use Get instead of HasKey because the former uses path expansion. |
| if (!value_->Get(*feature_name, NULL)) |