| OLD | NEW |
| 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 DCHECK(CalledOnValidThread()); | 469 DCHECK(CalledOnValidThread()); |
| 470 NOTIMPLEMENTED(); | 470 NOTIMPLEMENTED(); |
| 471 return true; | 471 return true; |
| 472 } | 472 } |
| 473 | 473 |
| 474 bool PseudoTcpAdapter::UsingTCPFastOpen() const { | 474 bool PseudoTcpAdapter::UsingTCPFastOpen() const { |
| 475 DCHECK(CalledOnValidThread()); | 475 DCHECK(CalledOnValidThread()); |
| 476 return false; | 476 return false; |
| 477 } | 477 } |
| 478 | 478 |
| 479 int64 PseudoTcpAdapter::NumBytesRead() const { |
| 480 DCHECK(CalledOnValidThread()); |
| 481 return -1; |
| 482 } |
| 483 |
| 484 int PseudoTcpAdapter::GetConnectTimeMicros() const { |
| 485 DCHECK(CalledOnValidThread()); |
| 486 return -1; |
| 487 } |
| 488 |
| 479 } // namespace jingle_glue | 489 } // namespace jingle_glue |
| OLD | NEW |