Remove the context argument from all WebappRegistry/WebappDataStorage methods.
This CL replaces the context argument with calls to
ContextUtils.getApplicationContext() within WebappRegistry and
WebappDataStorage methods. There is only one application context within
a process, so this should not change any behaviour.
This simplifies the interfaces, and will prepare for:
* pre-warming the SharedPreferences on startup
* calling SharedPreferences.editor.apply() exclusively on the main
thread in all webapp code.
* moving most WebappDataStorage and WebappRegistry methods to
being synchronous and directly callable on the main thread instead
of needing a callback
BUG=
633791
Committed:
https://crrev.com/54870dc572cb26a1c92b4ac5484d64d15f51be86
Cr-Commit-Position: refs/heads/master@{#421428}