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

Side by Side Diff: net/socket/socks5_client_socket.h

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/proxy/proxy_config_service_linux.cc ('k') | net/socket/socks5_client_socket.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // On destruction Disconnect() is called. 48 // On destruction Disconnect() is called.
49 virtual ~SOCKS5ClientSocket(); 49 virtual ~SOCKS5ClientSocket();
50 50
51 // ClientSocket methods: 51 // ClientSocket methods:
52 52
53 // Does the SOCKS handshake and completes the protocol. 53 // Does the SOCKS handshake and completes the protocol.
54 virtual int Connect(CompletionCallback* callback); 54 virtual int Connect(CompletionCallback* callback);
55 virtual void Disconnect(); 55 virtual void Disconnect();
56 virtual bool IsConnected() const; 56 virtual bool IsConnected() const;
57 virtual bool IsConnectedAndIdle() const; 57 virtual bool IsConnectedAndIdle() const;
58 virtual const BoundNetLog& NetLog() const { return net_log_; } 58 virtual const BoundNetLog& NetLog() const;
59 virtual void SetSubresourceSpeculation(); 59 virtual void SetSubresourceSpeculation();
60 virtual void SetOmniboxSpeculation(); 60 virtual void SetOmniboxSpeculation();
61 virtual bool WasEverUsed() const; 61 virtual bool WasEverUsed() const;
62 virtual bool UsingTCPFastOpen() const; 62 virtual bool UsingTCPFastOpen() const;
63 63
64 // Socket methods: 64 // Socket methods:
65 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 65 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
66 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 66 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
67 67
68 virtual bool SetReceiveBufferSize(int32 size); 68 virtual bool SetReceiveBufferSize(int32 size);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 HostResolver::RequestInfo host_request_info_; 146 HostResolver::RequestInfo host_request_info_;
147 147
148 BoundNetLog net_log_; 148 BoundNetLog net_log_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket); 150 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket);
151 }; 151 };
152 152
153 } // namespace net 153 } // namespace net
154 154
155 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 155 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_config_service_linux.cc ('k') | net/socket/socks5_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698