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

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

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) 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 | « remoting/jingle_glue/ssl_socket_adapter.h ('k') | skia/ext/vector_platform_device_linux.h » ('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 #include "remoting/jingle_glue/ssl_socket_adapter.h" 5 #include "remoting/jingle_glue/ssl_socket_adapter.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "net/base/address_list.h" 9 #include "net/base/address_list.h"
10 #include "net/base/host_port_pair.h" 10 #include "net/base/host_port_pair.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 ai.ai_family = ipv4addr.sin_family; 227 ai.ai_family = ipv4addr.sin_family;
228 ai.ai_socktype = SOCK_STREAM; 228 ai.ai_socktype = SOCK_STREAM;
229 ai.ai_protocol = IPPROTO_TCP; 229 ai.ai_protocol = IPPROTO_TCP;
230 ai.ai_addr = reinterpret_cast<struct sockaddr*>(&ipv4addr); 230 ai.ai_addr = reinterpret_cast<struct sockaddr*>(&ipv4addr);
231 ai.ai_addrlen = sizeof(ipv4addr); 231 ai.ai_addrlen = sizeof(ipv4addr);
232 232
233 address->Copy(&ai, false); 233 address->Copy(&ai, false);
234 return net::OK; 234 return net::OK;
235 } 235 }
236 236
237 const net::BoundNetLog& TransportSocket::NetLog() const {
238 return net_log_;
239 }
240
237 void TransportSocket::SetSubresourceSpeculation() { 241 void TransportSocket::SetSubresourceSpeculation() {
238 NOTREACHED(); 242 NOTREACHED();
239 } 243 }
240 244
241 void TransportSocket::SetOmniboxSpeculation() { 245 void TransportSocket::SetOmniboxSpeculation() {
242 NOTREACHED(); 246 NOTREACHED();
243 } 247 }
244 248
245 bool TransportSocket::WasEverUsed() const { 249 bool TransportSocket::WasEverUsed() const {
246 // We don't use this in ClientSocketPools, so this should never be used. 250 // We don't use this in ClientSocketPools, so this should never be used.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 write_buffer_len_ = buffer_len; 350 write_buffer_len_ = buffer_len;
347 return; 351 return;
348 } 352 }
349 } 353 }
350 was_used_to_convey_data_ = true; 354 was_used_to_convey_data_ = true;
351 callback->RunWithParams(Tuple1<int>(result)); 355 callback->RunWithParams(Tuple1<int>(result));
352 } 356 }
353 } 357 }
354 358
355 } // namespace remoting 359 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/jingle_glue/ssl_socket_adapter.h ('k') | skia/ext/vector_platform_device_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698