Index: chrome/browser/ui/extensions/application_launch.h |
diff --git a/chrome/browser/ui/extensions/application_launch.h b/chrome/browser/ui/extensions/application_launch.h |
index a5c0b44e9362cefb387089dbb2d613990c86c3c6..5f07ae0c5ae7391cb07da7c1548b950434d2599e 100644 |
--- a/chrome/browser/ui/extensions/application_launch.h |
+++ b/chrome/browser/ui/extensions/application_launch.h |
@@ -100,4 +100,10 @@ content::WebContents* OpenAppShortcutWindow(Profile* profile, |
// chrome.app.runtime.onLaunched event. |
bool CanLaunchViaEvent(const extensions::Extension* extension); |
+// Get the launch URL for a given extension, with optional override/fallback. |
+// |override_url|, if non-empty, will be preferred over the extension's |
+// launch url. |
+GURL UrlForExtension(const extensions::Extension* extension, |
+ const GURL& override_url); |
+ |
#endif // CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ |