Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 32a6356ca0367a8f9ce5ca56abad8be2933e14ca..096319a61e96b5f1b03ca5be32c40a0339505877 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -108,6 +108,9 @@ class ExtensionService |
// Used to test if we need to show the "Loading" dialog for themes. |
static bool IsDownloadFromMiniGallery(const GURL& download_url); |
+ // Returns the Extension of hosted or packaged apps, NULL otherwise. |
+ const Extension* GetInstalledApp(const GURL& url); |
+ |
// Returns whether the URL is from either a hosted or packaged app. |
bool IsInstalledApp(const GURL& url); |