Index: apps/launcher.cc |
diff --git a/apps/launcher.cc b/apps/launcher.cc |
index 1ac5aef27947de679163f78d81d4f6998fe81ea3..26871ebf72c3a3d13628c5fbea2fe98c9f58cf04 100644 |
--- a/apps/launcher.cc |
+++ b/apps/launcher.cc |
@@ -359,6 +359,7 @@ class PlatformAppPathLauncher |
void LaunchPlatformAppWithCommandLine(Profile* profile, |
const extensions::Extension* app, |
+ const std::string& launch_id, |
const base::CommandLine& command_line, |
const base::FilePath& current_directory, |
extensions::AppLaunchSource source, |
@@ -397,6 +398,7 @@ void LaunchPlatformAppWithCommandLine(Profile* profile, |
base::MakeUnique<app_runtime::LaunchData>(); |
if (play_store_status != PlayStoreStatus::PLAY_STORE_STATUS_UNKNOWN) |
launch_data->play_store_status = play_store_status; |
+ launch_data->id.reset(new std::string(launch_id)); |
AppRuntimeEventRouter::DispatchOnLaunchedEvent(profile, app, source, |
std::move(launch_data)); |
return; |
@@ -432,7 +434,7 @@ void LaunchPlatformApp(Profile* profile, |
const Extension* app, |
extensions::AppLaunchSource source) { |
LaunchPlatformAppWithCommandLine( |
- profile, app, base::CommandLine(base::CommandLine::NO_PROGRAM), |
+ profile, app, "", base::CommandLine(base::CommandLine::NO_PROGRAM), |
base::FilePath(), source); |
} |