WebSocket Pepper API: add interfaces to handle binaryType attribute

Add interfaces to handle binaryType attribute for various binary types supporting
in API version 0.9. Keeps the old interface as 0.1 for compatibility, and add
simple unit test just to instansiate the old interface.
Adding new interfaces are based on the WebSocket API.

BUG=87310
TEST=ui_test --gtest_filter='PPAPITest.WebSocket_*'

Review URL: http://codereview.chromium.org/8989046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117391 0039d316-1c4b-4281-b951-d872f2087c98
8 files changed