| Index: mojo/shell/shell.cc
|
| diff --git a/mojo/shell/shell.cc b/mojo/shell/shell.cc
|
| index 72f697f232c2910b6e76cb49401c824ca8dea65b..74d6a13fa5ead25cf89e77106a95cc1198c55af9 100644
|
| --- a/mojo/shell/shell.cc
|
| +++ b/mojo/shell/shell.cc
|
| @@ -8,7 +8,9 @@
|
| #include "base/logging.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "mojo/shell/app_container.h"
|
| +#include "mojo/shell/storage.h"
|
| #include "mojo/shell/switches.h"
|
| +#include "mojo/shell/task_runners.h"
|
| #include "mojo/system/core_impl.h"
|
|
|
| int main(int argc, char** argv) {
|
| @@ -19,6 +21,10 @@ int main(int argc, char** argv) {
|
|
|
| base::MessageLoop message_loop(base::MessageLoop::TYPE_UI);
|
|
|
| + // TODO(abarth): Group these objects into a "context" object.
|
| + mojo::shell::TaskRunners task_runners(message_loop.message_loop_proxy());
|
| + mojo::shell::Storage storage;
|
| +
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| if (!command_line.HasSwitch(switches::kApp)) {
|
| LOG(ERROR) << "No app path specified.";
|
|
|