| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "remoting/protocol/channel_multiplexer.h" | 5 #include "remoting/protocol/channel_multiplexer.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 } | 157 } |
| 158 virtual void SetOmniboxSpeculation() OVERRIDE { | 158 virtual void SetOmniboxSpeculation() OVERRIDE { |
| 159 NOTIMPLEMENTED(); | 159 NOTIMPLEMENTED(); |
| 160 } | 160 } |
| 161 virtual bool WasEverUsed() const OVERRIDE { | 161 virtual bool WasEverUsed() const OVERRIDE { |
| 162 return true; | 162 return true; |
| 163 } | 163 } |
| 164 virtual bool UsingTCPFastOpen() const OVERRIDE { | 164 virtual bool UsingTCPFastOpen() const OVERRIDE { |
| 165 return false; | 165 return false; |
| 166 } | 166 } |
| 167 virtual int64 NumBytesRead() const OVERRIDE { | |
| 168 NOTIMPLEMENTED(); | |
| 169 return 0; | |
| 170 } | |
| 171 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE { | |
| 172 NOTIMPLEMENTED(); | |
| 173 return base::TimeDelta(); | |
| 174 } | |
| 175 virtual bool WasNpnNegotiated() const OVERRIDE { | 167 virtual bool WasNpnNegotiated() const OVERRIDE { |
| 176 return false; | 168 return false; |
| 177 } | 169 } |
| 178 virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE { | 170 virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE { |
| 179 return net::kProtoUnknown; | 171 return net::kProtoUnknown; |
| 180 } | 172 } |
| 181 virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE { | 173 virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE { |
| 182 NOTIMPLEMENTED(); | 174 NOTIMPLEMENTED(); |
| 183 return false; | 175 return false; |
| 184 } | 176 } |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 channel->OnIncomingPacket(packet.Pass(), done_task); | 510 channel->OnIncomingPacket(packet.Pass(), done_task); |
| 519 } | 511 } |
| 520 | 512 |
| 521 bool ChannelMultiplexer::DoWrite(scoped_ptr<MultiplexPacket> packet, | 513 bool ChannelMultiplexer::DoWrite(scoped_ptr<MultiplexPacket> packet, |
| 522 const base::Closure& done_task) { | 514 const base::Closure& done_task) { |
| 523 return writer_.Write(SerializeAndFrameMessage(*packet), done_task); | 515 return writer_.Write(SerializeAndFrameMessage(*packet), done_task); |
| 524 } | 516 } |
| 525 | 517 |
| 526 } // namespace protocol | 518 } // namespace protocol |
| 527 } // namespace remoting | 519 } // namespace remoting |
| OLD | NEW |