Index: chrome/common/extensions/extension_set.cc |
diff --git a/chrome/common/extensions/extension_set.cc b/chrome/common/extensions/extension_set.cc |
index 0825089010e099d0444cec65e0c7dcd4d2dab8cf..f0f7ff60b23bf6028cf6436a94920f5c6fb3580d 100644 |
--- a/chrome/common/extensions/extension_set.cc |
+++ b/chrome/common/extensions/extension_set.cc |
@@ -79,3 +79,13 @@ bool ExtensionSet::ExtensionBindingsAllowed(const GURL& url) const { |
return false; |
} |
+ |
+void ExtensionSet::GetExtensionsPathAndDefaultLocale( |
+ std::map<std::string, std::pair<FilePath, std::string> >& info) const { |
+ info.clear(); |
+ ExtensionMap::const_iterator i = extensions_.begin(); |
+ for (; i != extensions_.end(); ++i) { |
+ info[i->first] = std::make_pair(i->second->path(), |
+ i->second->default_locale()); |
+ } |
+} |