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

Side by Side Diff: net/socket/unix_domain_client_socket_posix.cc

Issue 1821633003: net: remove UsingTCPFastOpen() method from StreamSocket class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix - remove one that I missed Created 4 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "net/socket/unix_domain_client_socket_posix.h" 5 #include "net/socket/unix_domain_client_socket_posix.h"
6 6
7 #include <sys/socket.h> 7 #include <sys/socket.h>
8 #include <sys/un.h> 8 #include <sys/un.h>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void UnixDomainClientSocket::SetSubresourceSpeculation() { 124 void UnixDomainClientSocket::SetSubresourceSpeculation() {
125 } 125 }
126 126
127 void UnixDomainClientSocket::SetOmniboxSpeculation() { 127 void UnixDomainClientSocket::SetOmniboxSpeculation() {
128 } 128 }
129 129
130 bool UnixDomainClientSocket::WasEverUsed() const { 130 bool UnixDomainClientSocket::WasEverUsed() const {
131 return true; // We don't care. 131 return true; // We don't care.
132 } 132 }
133 133
134 bool UnixDomainClientSocket::UsingTCPFastOpen() const {
135 return false;
136 }
137
138 bool UnixDomainClientSocket::WasNpnNegotiated() const { 134 bool UnixDomainClientSocket::WasNpnNegotiated() const {
139 return false; 135 return false;
140 } 136 }
141 137
142 NextProto UnixDomainClientSocket::GetNegotiatedProtocol() const { 138 NextProto UnixDomainClientSocket::GetNegotiatedProtocol() const {
143 return kProtoUnknown; 139 return kProtoUnknown;
144 } 140 }
145 141
146 bool UnixDomainClientSocket::GetSSLInfo(SSLInfo* ssl_info) { 142 bool UnixDomainClientSocket::GetSSLInfo(SSLInfo* ssl_info) {
147 return false; 143 return false;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 SocketDescriptor UnixDomainClientSocket::ReleaseConnectedSocket() { 178 SocketDescriptor UnixDomainClientSocket::ReleaseConnectedSocket() {
183 DCHECK(socket_); 179 DCHECK(socket_);
184 DCHECK(socket_->IsConnected()); 180 DCHECK(socket_->IsConnected());
185 181
186 SocketDescriptor socket_fd = socket_->ReleaseConnectedSocket(); 182 SocketDescriptor socket_fd = socket_->ReleaseConnectedSocket();
187 socket_.reset(); 183 socket_.reset();
188 return socket_fd; 184 return socket_fd;
189 } 185 }
190 186
191 } // namespace net 187 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698