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

Side by Side Diff: net/socket/socks_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/socket/socks5_client_socket.cc ('k') | net/socket/socks_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_SOCKS_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // On destruction Disconnect() is called. 45 // On destruction Disconnect() is called.
46 virtual ~SOCKSClientSocket(); 46 virtual ~SOCKSClientSocket();
47 47
48 // ClientSocket methods: 48 // ClientSocket methods:
49 49
50 // Does the SOCKS handshake and completes the protocol. 50 // Does the SOCKS handshake and completes the protocol.
51 virtual int Connect(CompletionCallback* callback); 51 virtual int Connect(CompletionCallback* callback);
52 virtual void Disconnect(); 52 virtual void Disconnect();
53 virtual bool IsConnected() const; 53 virtual bool IsConnected() const;
54 virtual bool IsConnectedAndIdle() const; 54 virtual bool IsConnectedAndIdle() const;
55 virtual const BoundNetLog& NetLog() const { return net_log_; } 55 virtual const BoundNetLog& NetLog() const;
56 virtual void SetSubresourceSpeculation(); 56 virtual void SetSubresourceSpeculation();
57 virtual void SetOmniboxSpeculation(); 57 virtual void SetOmniboxSpeculation();
58 virtual bool WasEverUsed() const; 58 virtual bool WasEverUsed() const;
59 virtual bool UsingTCPFastOpen() const; 59 virtual bool UsingTCPFastOpen() const;
60 60
61 // Socket methods: 61 // Socket methods:
62 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 62 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
63 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 63 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
64 64
65 virtual bool SetReceiveBufferSize(int32 size); 65 virtual bool SetReceiveBufferSize(int32 size);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 HostResolver::RequestInfo host_request_info_; 139 HostResolver::RequestInfo host_request_info_;
140 140
141 BoundNetLog net_log_; 141 BoundNetLog net_log_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocket); 143 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocket);
144 }; 144 };
145 145
146 } // namespace net 146 } // namespace net
147 147
148 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ 148 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/socks5_client_socket.cc ('k') | net/socket/socks_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698