Home | History | Annotate | Download | only in extensions

Lines Matching refs:extension

14 #include "chrome/common/extensions/extension.h"
17 // The one true extension container. Extensions are identified by their id.
18 // Only one extension can be in the set with a given ID.
27 // Returns true if the set contains the specified extension.
30 // Adds the specified extension to the set. The set becomes an owner. Any
31 // previous extension with the same ID is removed.
32 void Insert(const scoped_refptr<const Extension>& extension);
34 // Removes the specified extension.
37 // Returns the extension ID that the given URL is a part of, or empty if
38 // none. This includes web URLs that are part of an extension's web extent.
41 // Returns the Extension that the given URL is a part of, or NULL if none.
42 // This includes web URLs that are part of an extension's web extent.
44 // bulk extension data (e.g. if called from
46 const Extension* GetByURL(const GURL& url) const;
48 // Returns true if |new_url| is in the extent of the same extension as
52 // Look up an Extension object by id.
53 const Extension* GetByID(const std::string& id) const;
55 // Returns true if |url| should get extension api bindings and be permitted
56 // to make api calls. Note that this is independent of what extension
57 // permissions the given extension has been granted.
64 typedef std::map<std::string, scoped_refptr<const Extension> > ExtensionMap;