| 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 8e22447e8a1e304a9124a7d68722265568491123..56e57d3612a1223b9db141ac48ec0c8227aea305 100644
|
| --- a/chrome/browser/extensions/platform_app_launcher.cc
|
| +++ b/chrome/browser/extensions/platform_app_launcher.cc
|
| @@ -22,6 +22,7 @@
|
| #include "chrome/browser/extensions/lazy_background_task_queue.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/extensions/app_metro_infobar_delegate_win.h"
|
| +#include "chrome/browser/web_applications/web_app.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_messages.h"
|
| #include "content/public/browser/browser_thread.h"
|
| @@ -96,6 +97,7 @@ bool GetAbsolutePathFromCommandLine(const CommandLine* command_line,
|
| void LaunchPlatformAppWithNoData(Profile* profile, const Extension* extension) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| extensions::AppEventRouter::DispatchOnLaunchedEvent(profile, extension);
|
| + web_app::MaybeLaunchShortcut(profile, extension);
|
| }
|
|
|
| // Class to handle launching of platform apps to open a specific path.
|
|
|