Start renaming of CreateTabForTesting -> CreateNewTabForDevTools

This rename will require several CL in public and private repositories.

The first step is to add a declaration for the new method to be used
by DevTools.

BUG=265806

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234502 0039d316-1c4b-4281-b951-d872f2087c98
Fix WebSocketChannel for NULL payloads.

WebSocketChannel did not handle NULL payloads correctly. Add test cases
for NULL payloads, and fix the bugs.

BUG=316528
TEST=net_unittests --gtest_filter=WebSocketChannel*

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

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