Chromium Code Reviews| Index: chrome/common/extensions/extension_set.h |
| diff --git a/chrome/common/extensions/extension_set.h b/chrome/common/extensions/extension_set.h |
| index dbd16ad1ffc8354a225a2812444a8a08f613616e..7fa5271fa6896fc671ce79fc5a9ac9a4bdafbc90 100644 |
| --- a/chrome/common/extensions/extension_set.h |
| +++ b/chrome/common/extensions/extension_set.h |
| @@ -57,6 +57,10 @@ class ExtensionSet { |
| // permissions the given extension has been granted. |
| bool ExtensionBindingsAllowed(const GURL& url) const; |
| + // Populates map with the path and default locale for all extension IDs. |
| + void GetExtensionsPathAndDefaultLocale( |
|
Nebojša Ćirić
2011/08/10 20:38:57
Do you need this method? Couldn't you just:
make_
adriansc
2011/08/10 23:20:53
This method fills in a map by repeatedly calling m
|
| + std::map<std::string, std::pair<FilePath, std::string> >& info) const; |
|
Nebojša Ćirić
2011/08/10 20:38:57
You could typedef it here as ExtensionPathAndDefau
adriansc
2011/08/10 23:20:53
Done.
|
| + |
| private: |
| FRIEND_TEST_ALL_PREFIXES(ExtensionSetTest, ExtensionSet); |