Chromium Code Reviews| Index: extensions/common/extension_set.h |
| diff --git a/extensions/common/extension_set.h b/extensions/common/extension_set.h |
| index c46163faef6a9ffb53e19c07160bd98ec17c531f..f672330c518d29bec9e4f126a561b03d448fb8e9 100644 |
| --- a/extensions/common/extension_set.h |
| +++ b/extensions/common/extension_set.h |
| @@ -15,6 +15,8 @@ |
| #include "extensions/common/extension.h" |
| #include "url/gurl.h" |
| +struct HostID; |
| + |
| namespace extensions { |
| // The one true extension container. Extensions are identified by their id. |
| @@ -124,6 +126,9 @@ class ExtensionSet { |
| // Gets the IDs of all extensions in the set. |
| ExtensionIdSet GetIDs() const; |
| + // Gets the HostIDs of all extensions in the set. |
| + std::set<HostID> GetHostIDs() const; |
|
Devlin
2015/03/09 16:00:04
This doesn't really belong here. An ExtensionSet
Xi Han
2015/03/09 19:12:36
Moved to UserScriptSetManager.
|
| + |
| // Returns true if |info| should get extension api bindings and be permitted |
| // to make api calls. Note that this is independent of what extension |
| // permissions the given extension has been granted. |