Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 97d5f6cc004d0f1476a9971ac2e02a590b97000b..b67adc4cf26e28adcc32fd709c48a698ddc4653f 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); |