Index: apps/launcher.cc |
diff --git a/apps/launcher.cc b/apps/launcher.cc |
index 684379016a38c5a64b36d6d6864cc1326dcf1d42..2f5790f0e81ec153545d753c5f65eb247aad3cbb 100644 |
--- a/apps/launcher.cc |
+++ b/apps/launcher.cc |
@@ -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/drive_integration_service.h" |
@@ -387,4 +388,13 @@ void RestartPlatformApp(Profile* profile, const Extension* extension) { |
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 |