Cleanup mojo_shell and sample_app a bit
This CL contains a number of cleanups now that the structure of mojo_shell is
clearer. Specifically,
1) I've moved sample_app.cc from mojo/shell to mojo/examples/sample_app. The
sample_app isn't part of the mojo_shell. It's an example app that runs on
top of the shell.
2) I've merged mojo/loader into mojo/shell. Originally, I thought it would be
better to keep the loader separate, but we had to introduce a direct
dependency from mojo/shell to net anyway, so we might as well merge these
two directories. We'll probably pull them apart again when we can make the
loader into a Mojo service.
As part of this cleanup, I've also removed the Job/JobImpl split because
that existed only to avoid leaking net headers. This ended up simplifying
the code a bit.
3) I've renamed mojo/shell/android/shell_apk to mojo/shell/android/apk to
remove some of the stutter from the directory name.
4) Finally, I've added a Quit task to run.cc in the error case so that we exit
the main loop when we hit this error instead of spinning forever. This
change is the only behavior change in this CL.
[email protected]
Review URL: https://codereview.chromium.org/47433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231287 0039d316-1c4b-4281-b951-d872f2087c98
21 files changed