| Index: chrome/common/extensions/extension_permission_set.h
|
| ===================================================================
|
| --- chrome/common/extensions/extension_permission_set.h (revision 125812)
|
| +++ chrome/common/extensions/extension_permission_set.h (working copy)
|
| @@ -183,6 +183,8 @@
|
| kTypeDefault = kTypeAll - kTypeHostedApp,
|
| };
|
|
|
| + typedef std::set<ID> IDSet;
|
| +
|
| ~ExtensionAPIPermission();
|
|
|
| // Returns the localized permission message associated with this api.
|
| @@ -392,12 +394,6 @@
|
| // Gets the API permissions in this set as a set of strings.
|
| std::set<std::string> GetAPIsAsStrings() const;
|
|
|
| - // Gets the API permissions in this set, plus any that have implicit access
|
| - // (such as APIs that require no permissions, or APIs with functions that
|
| - // require no permissions).
|
| - // TODO(kalman): return scoped_ptr to avoid copying.
|
| - std::set<std::string> GetAPIsWithAnyAccessAsStrings() const;
|
| -
|
| // Returns whether this namespace has any functions which the extension has
|
| // permission to use. For example, even though the extension may not have
|
| // the "tabs" permission, "tabs.create" requires no permissions so
|
|
|