Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 402f644fbfdd67d8b2fdad2b0bc217e4043a7759..a32708e1b91c30b417cddd5f719ae7f21f1cb711 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -141,6 +141,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); |