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

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

Issue 6990036: Deciding best connection to schedule requests on based on cwnd and idle time (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Reuploading from google.com account 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 | « chrome/common/chrome_switches.cc ('k') | jingle/glue/pseudotcp_adapter.cc » ('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) 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 #ifndef JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_ 5 #ifndef JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_
6 #define JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_ 6 #define JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void Disconnect() OVERRIDE; 42 virtual void Disconnect() OVERRIDE;
43 virtual bool IsConnected() const OVERRIDE; 43 virtual bool IsConnected() const OVERRIDE;
44 virtual bool IsConnectedAndIdle() const OVERRIDE; 44 virtual bool IsConnectedAndIdle() const OVERRIDE;
45 virtual int GetPeerAddress(net::AddressList* address) const OVERRIDE; 45 virtual int GetPeerAddress(net::AddressList* address) const OVERRIDE;
46 virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; 46 virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE;
47 virtual const net::BoundNetLog& NetLog() const OVERRIDE; 47 virtual const net::BoundNetLog& NetLog() const OVERRIDE;
48 virtual void SetSubresourceSpeculation() OVERRIDE; 48 virtual void SetSubresourceSpeculation() OVERRIDE;
49 virtual void SetOmniboxSpeculation() OVERRIDE; 49 virtual void SetOmniboxSpeculation() OVERRIDE;
50 virtual bool WasEverUsed() const OVERRIDE; 50 virtual bool WasEverUsed() const OVERRIDE;
51 virtual bool UsingTCPFastOpen() const OVERRIDE; 51 virtual bool UsingTCPFastOpen() const OVERRIDE;
52 virtual int64 NumBytesRead() const OVERRIDE;
53 virtual int GetConnectTimeMicros() const OVERRIDE;
52 54
53 private: 55 private:
54 class Core; 56 class Core;
55 57
56 scoped_refptr<Core> core_; 58 scoped_refptr<Core> core_;
57 59
58 net::BoundNetLog net_log_; 60 net::BoundNetLog net_log_;
59 61
60 DISALLOW_COPY_AND_ASSIGN(PseudoTcpAdapter); 62 DISALLOW_COPY_AND_ASSIGN(PseudoTcpAdapter);
61 }; 63 };
62 64
63 } // namespace jingle_glue 65 } // namespace jingle_glue
64 66
65 #endif // JINGLE_GLUE_STREAM_SOCKET_ADAPTER_H_ 67 #endif // JINGLE_GLUE_STREAM_SOCKET_ADAPTER_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | jingle/glue/pseudotcp_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698