Index: chrome/browser/extensions/api/messaging/native_process_launcher.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher.cc b/chrome/browser/extensions/api/messaging/native_process_launcher.cc |
index ee53ec7c07e6d1e82c56a6853dd2a130d8ed1a8b..2fe660168aebe8ffbea7fb75ffade4395a9e1614 100644 |
--- a/chrome/browser/extensions/api/messaging/native_process_launcher.cc |
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher.cc |
@@ -160,10 +160,13 @@ void NativeProcessLauncherImpl::Core::DoLaunchOnThreadPool( |
return; |
} |
+ CommandLine command_line(manifest->path()); |
+ command_line.AppendArg(origin.spec()); |
+ |
base::PlatformFile read_file; |
base::PlatformFile write_file; |
bool result = NativeProcessLauncher::LaunchNativeProcess( |
- manifest->path(), &read_file, &write_file); |
+ command_line, &read_file, &write_file); |
content::BrowserThread::PostTask( |
content::BrowserThread::IO, FROM_HERE, |