Chromium Code Reviews| 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); |
|
not at google - send to devlin
2013/08/29 17:35:56
bleh, this file should hang of ExtensionSystem rat
sergeygs
2013/08/30 00:39:44
Done. I'm not sure it should hang off ExtensionSys
|
| +} |
| + |
| } // namespace extensions |