Chromium Code Reviews| Index: mojo/runner/desktop/main.cc |
| diff --git a/mojo/runner/desktop/main.cc b/mojo/runner/desktop/main.cc |
| index 1764c3f110008845807b793be043b98fdb7c5e87..b6089c70c47e1d912d4bb6eef49d2e1552b08d09 100644 |
| --- a/mojo/runner/desktop/main.cc |
| +++ b/mojo/runner/desktop/main.cc |
| @@ -7,6 +7,7 @@ |
| #include "mojo/runner/child_process.h" |
| #include "mojo/runner/desktop/launcher_process.h" |
| #include "mojo/runner/init.h" |
| +#include "mojo/runner/scoped_user_data_dir.h" |
| #include "mojo/runner/switches.h" |
| int main(int argc, char** argv) { |
| @@ -15,6 +16,8 @@ int main(int argc, char** argv) { |
| mojo::runner::InitializeLogging(); |
| + mojo::runner::ScopedUserDataDir scoped_user_data_dir; |
|
jam
2015/06/25 15:28:23
a few issues of putting it here: it's running for
|
| + |
| const base::CommandLine& command_line = |
| *base::CommandLine::ForCurrentProcess(); |
| if (command_line.HasSwitch(switches::kChildProcess)) |