Revert 276494 "Revert 275655 "Redirect HTML resource bytes direc..."
commit079fe6c556e539e97ef85e7d3773c2512adf16b3
authoroysteine@chromium.org <oysteine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 16 Jun 2014 22:10:06 +0000 (16 22:10 +0000)
committeroysteine@chromium.org <oysteine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 16 Jun 2014 22:10:06 +0000 (16 22:10 +0000)
tree8d4a35a19eceb8750e9afa93ce59a7c6d412f3c1
parent286b0de304da1832029c3c07e6b27927d1e378ac
Revert 276494 "Revert 275655 "Redirect HTML resource bytes direc..."

Relanding with two fixes: Check that Blink hasn't shut down the background (parser) thread before posting tasks to it, and only attach the ThreadedDataProvider if we have a shared memory handle available (fixes a crash when loading FTP listings)

> Revert 275655 "Redirect HTML resource bytes directly to parser t..."
>
> > Redirect HTML resource bytes directly to parser thread (Chrome side)
> >
> > Blink side: https://codereview.chromium.org/100563004/
> >
> > Note: This can't land until the Blink-side has landed.
> >
> > R=jamesr@chromium.org,jam@chromium.org
> > BUG=277886
> >
> > Review URL: https://codereview.chromium.org/109283006
>
> TBR=oysteine@chromium.org
>
> Review URL: https://codereview.chromium.org/326403005

TBR=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277551 0039d316-1c4b-4281-b951-d872f2087c98
content/child/resource_dispatcher.cc
content/child/resource_dispatcher.h
content/child/threaded_data_provider.cc [new file with mode: 0644]
content/child/threaded_data_provider.h [new file with mode: 0644]
content/child/web_url_loader_impl.cc
content/child/web_url_loader_impl.h
content/child/webthread_impl.h
content/content_child.gypi
webkit/child/resource_loader_bridge.h