Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: remoting/protocol/channel_multiplexer.cc

Issue 12886034: Remove experimental code to pick the "warmest" socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync, fix conflict Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/spdy/spdy_proxy_client_socket.cc ('k') | remoting/protocol/fake_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « net/spdy/spdy_proxy_client_socket.cc ('k') | remoting/protocol/fake_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698