summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/pepper_stream_channel.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-14 23:44:05 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-14 23:44:05 +0000
commit947960c2f6a85573c97c70dd6f8a7b79faeb56f3 (patch)
treeb291d3077debb299bf260b60b3e241dd71876d2c /remoting/protocol/pepper_stream_channel.cc
parentc404564277fa3cd5713efa6966287c072b489a87 (diff)
downloadchromium_src-947960c2f6a85573c97c70dd6f8a7b79faeb56f3.zip
chromium_src-947960c2f6a85573c97c70dd6f8a7b79faeb56f3.tar.gz
chromium_src-947960c2f6a85573c97c70dd6f8a7b79faeb56f3.tar.bz2
Revert 101189 - Use enum instead of string to specify transport type.
TEST=None BUG=41776 Review URL: http://codereview.chromium.org/7891014 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/7901002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101191 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/pepper_stream_channel.cc')
-rw-r--r--remoting/protocol/pepper_stream_channel.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/remoting/protocol/pepper_stream_channel.cc b/remoting/protocol/pepper_stream_channel.cc
index 330893e..9769adc 100644
--- a/remoting/protocol/pepper_stream_channel.cc
+++ b/remoting/protocol/pepper_stream_channel.cc
@@ -95,8 +95,7 @@ void PepperStreamChannel::Connect(pp::Instance* pp_instance,
remote_cert_ = remote_cert;
pp::Transport_Dev* transport =
- new pp::Transport_Dev(pp_instance, name_.c_str(),
- PP_TRANSPORTTYPE_STREAM);
+ new pp::Transport_Dev(pp_instance, name_.c_str(), "tcp");
if (transport->SetProperty(PP_TRANSPORTPROPERTY_TCP_RECEIVE_WINDOW,
pp::Var(kTcpReceiveBufferSize)) != PP_OK) {