Implement decoding of indexed headers for HPACK

Also update the handling of indexed headers to match the -05 spec
(i.e., handle the special-cased 0 index).

This lands server change 60576720 by akalin.

BUG=339578
R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248278 0039d316-1c4b-4281-b951-d872f2087c98
[Android WebView] Fix thread unsafety in accessing Java side getters

Re-route calls to AwSettings::PopulateWebPreferences through Java
to acquire mAwSettingsLock. Add assertions on holding the lock into
getters called from native code.

BUG=337112

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248279 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 248279
Fix a crash in content-shell headless mode with --dump-render-tree

Currently the platform specific state is not cleanedup in headless
mode and that leads to a crash upon content-shell exit.

This patch deinitialize the platform specific state in Shell
destructor so that it will delete the aura::WindowTreeHost which
will delete the compositor.

BUG=338919

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

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