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