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