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

Side by Side Diff: jingle/glue/pseudotcp_adapter.cc

Issue 7255002: Revert 90373 - Warmth of a connection (cwnd) is estimated by the amount of data written to the so... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 | « jingle/glue/pseudotcp_adapter.h ('k') | jingle/notifier/base/fake_ssl_client_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "jingle/glue/pseudotcp_adapter.h" 5 #include "jingle/glue/pseudotcp_adapter.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "net/base/address_list.h" 9 #include "net/base/address_list.h"
10 #include "net/base/completion_callback.h" 10 #include "net/base/completion_callback.h"
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 DCHECK(CalledOnValidThread()); 456 DCHECK(CalledOnValidThread());
457 NOTIMPLEMENTED(); 457 NOTIMPLEMENTED();
458 return true; 458 return true;
459 } 459 }
460 460
461 bool PseudoTcpAdapter::UsingTCPFastOpen() const { 461 bool PseudoTcpAdapter::UsingTCPFastOpen() const {
462 DCHECK(CalledOnValidThread()); 462 DCHECK(CalledOnValidThread());
463 return false; 463 return false;
464 } 464 }
465 465
466 int64 PseudoTcpAdapter::NumBytesRead() const {
467 DCHECK(CalledOnValidThread());
468 return -1;
469 }
470
471 base::TimeDelta PseudoTcpAdapter::GetConnectTimeMicros() const {
472 DCHECK(CalledOnValidThread());
473 return base::TimeDelta::FromMicroseconds(-1);
474 }
475
476 } // namespace jingle_glue 466 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/pseudotcp_adapter.h ('k') | jingle/notifier/base/fake_ssl_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698