| 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..468d5cafa190656a9c75927dc5dead9554355c68 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"
|
| @@ -420,4 +421,13 @@ void RestartPlatformAppWithFileEntries(
|
| launcher->Launch();
|
| }
|
|
|
| +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 extensions
|
|
|