| Index: extensions/common/extension_set.h
|
| diff --git a/extensions/common/extension_set.h b/extensions/common/extension_set.h
|
| index 4ba65305536047c3b727378ee46f2d43b6979145..6b41ae645cf52930ee45f1d6266cc677e7a0e299 100644
|
| --- a/extensions/common/extension_set.h
|
| +++ b/extensions/common/extension_set.h
|
| @@ -101,6 +101,11 @@ class ExtensionSet {
|
| // EventBindings::HandleContextCreated)
|
| const Extension* GetExtensionOrAppByURL(const GURL& url) const;
|
|
|
| + // Returns the app specified by the given |url|, if one exists. This will
|
| + // return NULL if there is no entry with |url|, or if the extension with
|
| + // |url| is not an app.
|
| + const Extension* GetAppByURL(const GURL& url) const;
|
| +
|
| // Returns the hosted app whose web extent contains the URL.
|
| const Extension* GetHostedAppByURL(const GURL& url) const;
|
|
|
|
|