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 fb91d7c0849fa18540377c13f0082e3d179a8cdf..a5c0b44e9362cefb387089dbb2d613990c86c3c6 100644 |
--- a/chrome/browser/ui/extensions/application_launch.h |
+++ b/chrome/browser/ui/extensions/application_launch.h |
@@ -96,4 +96,8 @@ content::WebContents* OpenApplication(const AppLaunchParams& params); |
content::WebContents* OpenAppShortcutWindow(Profile* profile, |
const GURL& url); |
+// Whether the extension can be launched by sending a |
+// chrome.app.runtime.onLaunched event. |
+bool CanLaunchViaEvent(const extensions::Extension* extension); |
+ |
#endif // CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ |