Remove app context init from LibraryLoader.

Move towards single-initialization application context through
ContextUtils#initApplicationContext in the various custom application
objects where possible (BaseChromiumApplication and
ContentApplication should not do this due to webview). Most tests and
client code should not call ContextUtils#initApplicationContext.

This fixes WebView apps that create a new wrap for their own
application context every time Application#getApplicationContext is
called.

BUG=637389

Review-Url: https://codereview.chromium.org/2247143004
Cr-Commit-Position: refs/heads/master@{#421906}


CrOS-Libchrome-Original-Commit: 81f0e247dd5f8002adf01bb2c4b0c668d5200fca
5 files changed
tree: e14d3ca44f9381b255bdef397d997c85064404ca
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/