Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4565)

Unified Diff: chrome/browser/apps/app_launch_for_metro_restart_win.cc

Issue 2212303003: Implement app launch changes for app runtime extension proposal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tool-screenshot
Patch Set: Nits Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/launcher.cc ('k') | chrome/browser/chromeos/note_taking_app_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 978e1e274aa7c2a7d68b31e597eabdb9f2c4c434..3fedd2a9398ae18dccee10af2f2cc65d2fbfa186 100644
--- a/chrome/browser/apps/app_launch_for_metro_restart_win.cc
+++ b/chrome/browser/apps/app_launch_for_metro_restart_win.cc
@@ -20,6 +20,7 @@
#include "components/prefs/pref_service.h"
#include "extensions/browser/api/app_runtime/app_runtime_api.h"
#include "extensions/browser/extension_system.h"
+#include "extensions/common/api/app_runtime.h"
#include "extensions/common/constants.h"
using extensions::AppRuntimeEventRouter;
@@ -43,7 +44,8 @@ void LaunchAppWithId(Profile* profile,
return;
AppRuntimeEventRouter::DispatchOnLaunchedEvent(
- profile, extension, extensions::SOURCE_RESTART);
+ profile, extension, extensions::SOURCE_RESTART,
+ std::unique_ptr<extensions::api::app_runtime::ActionData>());
}
} // namespace
« no previous file with comments | « apps/launcher.cc ('k') | chrome/browser/chromeos/note_taking_app_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698