Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 9e4206c5ec52c2aca46140d20b4cb2f435a0c3c2..e326b11665fd926241b505edd92c3e6cb80afcb4 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -137,6 +137,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); |