Index: trunk/src/apps/launcher.cc |
=================================================================== |
--- trunk/src/apps/launcher.cc (revision 222257) |
+++ trunk/src/apps/launcher.cc (working copy) |
@@ -31,6 +31,7 @@ |
#include "content/public/browser/web_contents.h" |
#include "net/base/mime_util.h" |
#include "net/base/net_util.h" |
+#include "url/gurl.h" |
#if defined(OS_CHROMEOS) |
#include "chrome/browser/chromeos/drive/file_errors.h" |
@@ -386,4 +387,13 @@ |
LaunchPlatformAppWithNoData(profile, extension); |
} |
+void LaunchPlatformAppWithUrl(Profile* profile, |
+ const Extension* extension, |
+ const std::string& handler_id, |
+ const GURL& url, |
+ const GURL& referrer_url) { |
+ extensions::AppEventRouter::DispatchOnLaunchedEventWithUrl( |
+ profile, extension, handler_id, url, referrer_url); |
+} |
+ |
} // namespace apps |