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

Side by Side Diff: net/curvecp/curvecp_client_socket.h

Issue 10690122: Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Expand comment on unit test. Created 8 years, 5 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
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 #ifndef NET_CURVECP_CURVECP_CLIENT_SOCKET_H_ 5 #ifndef NET_CURVECP_CURVECP_CLIENT_SOCKET_H_
6 #define NET_CURVECP_CURVECP_CLIENT_SOCKET_H_ 6 #define NET_CURVECP_CURVECP_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "net/base/completion_callback.h" 10 #include "net/base/completion_callback.h"
(...skipping 21 matching lines...) Expand all
32 virtual bool IsConnectedAndIdle() const OVERRIDE; 32 virtual bool IsConnectedAndIdle() const OVERRIDE;
33 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; 33 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE;
34 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; 34 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE;
35 virtual const BoundNetLog& NetLog() const OVERRIDE; 35 virtual const BoundNetLog& NetLog() const OVERRIDE;
36 virtual void SetSubresourceSpeculation() OVERRIDE; 36 virtual void SetSubresourceSpeculation() OVERRIDE;
37 virtual void SetOmniboxSpeculation() OVERRIDE; 37 virtual void SetOmniboxSpeculation() OVERRIDE;
38 virtual bool WasEverUsed() const OVERRIDE; 38 virtual bool WasEverUsed() const OVERRIDE;
39 virtual bool UsingTCPFastOpen() const OVERRIDE; 39 virtual bool UsingTCPFastOpen() const OVERRIDE;
40 virtual int64 NumBytesRead() const OVERRIDE; 40 virtual int64 NumBytesRead() const OVERRIDE;
41 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; 41 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
42 virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; 42 virtual bool WasNpnNegotiated() const OVERRIDE;
43 virtual NextProto GetNegotiatedProtocol() const OVERRIDE;
44 virtual void GetSSLInfo(SSLInfo* ssl_info) const OVERRIDE;
43 45
44 // Socket methods: 46 // Socket methods:
45 virtual int Read(IOBuffer* buf, 47 virtual int Read(IOBuffer* buf,
46 int buf_len, 48 int buf_len,
47 const CompletionCallback& callback) OVERRIDE; 49 const CompletionCallback& callback) OVERRIDE;
48 virtual int Write(IOBuffer* buf, 50 virtual int Write(IOBuffer* buf,
49 int buf_len, 51 int buf_len,
50 const CompletionCallback& callback) OVERRIDE; 52 const CompletionCallback& callback) OVERRIDE;
51 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; 53 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
52 virtual bool SetSendBufferSize(int32 size) OVERRIDE; 54 virtual bool SetSendBufferSize(int32 size) OVERRIDE;
53 55
54 private: 56 private:
55 AddressList addresses_; 57 AddressList addresses_;
56 BoundNetLog net_log_; 58 BoundNetLog net_log_;
57 Messenger messenger_; 59 Messenger messenger_;
58 ClientPacketizer packetizer_; 60 ClientPacketizer packetizer_;
59 61
60 DISALLOW_COPY_AND_ASSIGN(CurveCPClientSocket); 62 DISALLOW_COPY_AND_ASSIGN(CurveCPClientSocket);
61 }; 63 };
62 64
63 } // namespace net 65 } // namespace net
64 66
65 #endif // NET_CURVECP_CURVECP_CLIENT_SOCKET_H_ 67 #endif // NET_CURVECP_CURVECP_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698