Index: chrome/browser/apps/app_launch_for_metro_restart_win.cc |
diff --git a/chrome/browser/apps/app_launch_for_metro_restart_win.cc b/chrome/browser/apps/app_launch_for_metro_restart_win.cc |
index 5522327b98a32f5b9de0b69f3f58f38d8cdc0862..05606f56907203aaafbeca668ca6fe2bba26307a 100644 |
--- a/chrome/browser/apps/app_launch_for_metro_restart_win.cc |
+++ b/chrome/browser/apps/app_launch_for_metro_restart_win.cc |
@@ -18,6 +18,7 @@ |
#include "chrome/common/pref_names.h" |
#include "extensions/browser/api/app_runtime/app_runtime_api.h" |
#include "extensions/browser/extension_system.h" |
+#include "extensions/common/constants.h" |
using extensions::AppRuntimeEventRouter; |
using extensions::Extension; |
@@ -39,7 +40,8 @@ void LaunchAppWithId(Profile* profile, |
if (!extension) |
return; |
- AppRuntimeEventRouter::DispatchOnLaunchedEvent(profile, extension); |
+ AppRuntimeEventRouter::DispatchOnLaunchedEvent( |
+ profile, extension, extensions::SOURCE_RESTART); |
} |
} // namespace |