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

Side by Side Diff: remoting/jingle_glue/ssl_socket_adapter.h

Issue 10491007: fixed issue 128383 - replace GetPeerAddress(AddressList* address) with GetPeerAddress(IPEndPoint* a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix according to review Created 8 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 | « net/spdy/spdy_stream.cc ('k') | remoting/jingle_glue/ssl_socket_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) 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 REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 5 #ifndef REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_
6 #define REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 6 #define REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
10 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
(...skipping 26 matching lines...) Expand all
37 37
38 void set_addr(const talk_base::SocketAddress& addr) { 38 void set_addr(const talk_base::SocketAddress& addr) {
39 addr_ = addr; 39 addr_ = addr;
40 } 40 }
41 41
42 // net::StreamSocket implementation. 42 // net::StreamSocket implementation.
43 virtual int Connect(const net::CompletionCallback& callback) OVERRIDE; 43 virtual int Connect(const net::CompletionCallback& callback) OVERRIDE;
44 virtual void Disconnect() OVERRIDE; 44 virtual void Disconnect() OVERRIDE;
45 virtual bool IsConnected() const OVERRIDE; 45 virtual bool IsConnected() const OVERRIDE;
46 virtual bool IsConnectedAndIdle() const OVERRIDE; 46 virtual bool IsConnectedAndIdle() const OVERRIDE;
47 virtual int GetPeerAddress(net::AddressList* address) const OVERRIDE; 47 virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE;
48 virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE; 48 virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE;
49 virtual const net::BoundNetLog& NetLog() const OVERRIDE; 49 virtual const net::BoundNetLog& NetLog() const OVERRIDE;
50 virtual void SetSubresourceSpeculation() OVERRIDE; 50 virtual void SetSubresourceSpeculation() OVERRIDE;
51 virtual void SetOmniboxSpeculation() OVERRIDE; 51 virtual void SetOmniboxSpeculation() OVERRIDE;
52 virtual bool WasEverUsed() const OVERRIDE; 52 virtual bool WasEverUsed() const OVERRIDE;
53 virtual bool UsingTCPFastOpen() const OVERRIDE; 53 virtual bool UsingTCPFastOpen() const OVERRIDE;
54 virtual int64 NumBytesRead() const OVERRIDE; 54 virtual int64 NumBytesRead() const OVERRIDE;
55 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; 55 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
56 virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; 56 virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE;
57 57
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 IOState write_state_; 146 IOState write_state_;
147 scoped_refptr<net::IOBuffer> transport_buf_; 147 scoped_refptr<net::IOBuffer> transport_buf_;
148 int data_transferred_; 148 int data_transferred_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(SSLSocketAdapter); 150 DISALLOW_COPY_AND_ASSIGN(SSLSocketAdapter);
151 }; 151 };
152 152
153 } // namespace remoting 153 } // namespace remoting
154 154
155 #endif // REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 155 #endif // REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | remoting/jingle_glue/ssl_socket_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698