Index: chrome/browser/extensions/platform_app_launcher.cc |
diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc |
index 66466ff4130a45e8650dac77673ee1e231c8fe20..380e0476ab8ae350b8a339efe55cd7b580572df5 100644 |
--- a/chrome/browser/extensions/platform_app_launcher.cc |
+++ b/chrome/browser/extensions/platform_app_launcher.cc |
@@ -28,6 +28,7 @@ |
#include "content/public/browser/child_process_security_policy.h" |
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/web_contents.h" |
+#include "googleurl/src/gurl.h" |
#include "net/base/mime_util.h" |
#include "net/base/net_util.h" |
#include "webkit/fileapi/file_system_types.h" |
@@ -411,6 +412,15 @@ void LaunchPlatformAppWithFileHandler(Profile* profile, |
launcher->LaunchWithHandler(handler_id); |
} |
+void LaunchPlatformAppWithURL(Profile* profile, |
+ const Extension* extension, |
+ const std::string& handler_id, |
+ const GURL& url, |
+ const GURL& referrerUrl) { |
+ AppEventRouter::DispatchOnLaunchedEventWithURL( |
+ profile, extension, handler_id, url, referrerUrl); |
+} |
+ |
void RestartPlatformAppWithFileEntries( |
Profile* profile, |
const Extension* extension, |