Most of the WebSocket code does not need to care about the original
frame boundaries. Move the chunk to frame conversion logic to
WebSocketBasicStream from WebSocketChannel and change all interfaces
except for WebSocketFrameParser to use WebSocketFrame instead of
WebSocketFrameChunk.

BUG=288603
TEST=net_unittests --gtest_filter=WebSocket*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225452 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Add the progress center to the background page and make it work with the progress center panel.

This CL only implemented the adding of progress items.

BUG=277432
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225453 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225453
Fixed flaky test: PlatformAppUrlRedirectorBrowserTest.FormSubmissionInTabNotIntercepted

BUG=288984

The test was flaky because it was making a wrong assumption about the HTTP method used with PAGE_TRANSITION_FORM_SUBMIT. It was also not waiting for a proper event to correctly detect pass/failure. Fixed both problems; should be non-flaky now.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225454 0039d316-1c4b-4281-b951-d872f2087c98
Make safe to call shutdown multiple times.

BUG=298365

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

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