Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: extensions/common/extension_set.h

Issue 218683011: Remove ExtensionService::[Get|Is]InstalledApp() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_ces_get_installed_ext_by_url
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc ('k') | extensions/common/extension_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc ('k') | extensions/common/extension_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698