StorageMonitor: Switch unit tests to use TestBrowserThreadBundle.

BUG=272091

Review URL: https://codereview.chromium.org/42423002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231200 0039d316-1c4b-4281-b951-d872f2087c98
mojo_shell should start without crashing on Android

This CL finishes the bootup process for mojo_shell on Android. We now succeed
in starting all the threads we expect. Instead of crashing, we now error out
because there's no --app command line argument. I've also wired up logging to
the Android system log.

In order to initialize |net| properly, I've introduced a direct dependency from
mojo/shell to net. We're considering doing that in another CL, and I now think
having that dependency will make things easier, at least in the near term.

R=darin@chromium.org, aa@chromium.org

Review URL: https://codereview.chromium.org/45383002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231201 0039d316-1c4b-4281-b951-d872f2087c98
cc: Sort backings in the parent compositor to the back of the list.

Backings in the parent should not be preferred for eviction since
deleting them in the renderer won't actually free any memory. So sort
them to the back of the backings list, so they are evicted last.

Also mark them as not CanBeRecycled() so that they will not be evicted
at all if we are only evicting recyclable stuff.

Tests:
PrioritizedResourceTest.NotEvictingTexturesInParent

R=ccameron@chromium.org, jbauman@chromium.org
BUG=292971

Review URL: https://codereview.chromium.org/42483002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231202 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 231202