| Index: shell/app_child_process.cc
|
| diff --git a/shell/app_child_process.cc b/shell/app_child_process.cc
|
| index 3a00843a7aa53f08a708c5a2ec9ac54146b8d2cd..f788d1deb632e28e459192316716658f349d36fa 100644
|
| --- a/shell/app_child_process.cc
|
| +++ b/shell/app_child_process.cc
|
| @@ -184,13 +184,14 @@ class AppChildControllerImpl : public InterfaceImpl<AppChildController> {
|
|
|
| // |AppChildController| methods:
|
| void StartApp(const String& app_path,
|
| + bool clean_app_path,
|
| ScopedMessagePipeHandle service) override {
|
| DVLOG(2) << "AppChildControllerImpl::StartApp(" << app_path << ", ...)";
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|
| unblocker_.Unblock(base::Bind(&AppChildControllerImpl::StartAppOnMainThread,
|
| base::FilePath::FromUTF8Unsafe(app_path),
|
| - base::Passed(&service)));
|
| + clean_app_path, base::Passed(&service)));
|
| }
|
|
|
| private:
|
| @@ -206,6 +207,7 @@ class AppChildControllerImpl : public InterfaceImpl<AppChildController> {
|
| }
|
|
|
| static void StartAppOnMainThread(const base::FilePath& app_path,
|
| + bool clean_app_path,
|
| ScopedMessagePipeHandle service) {
|
| // TODO(vtl): This is copied from in_process_dynamic_service_runner.cc.
|
| DVLOG(2) << "Loading/running Mojo app from " << app_path.value()
|
| @@ -213,7 +215,8 @@ class AppChildControllerImpl : public InterfaceImpl<AppChildController> {
|
|
|
| // We intentionally don't unload the native library as its lifetime is the
|
| // same as that of the process.
|
| - DynamicServiceRunner::LoadAndRunService(app_path, service.Pass());
|
| + DynamicServiceRunner::LoadAndRunService(app_path, clean_app_path,
|
| + service.Pass());
|
| }
|
|
|
| base::ThreadChecker thread_checker_;
|
|
|