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

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

Issue 1821633003: net: remove UsingTCPFastOpen() method from StreamSocket class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove use_tcp_fastopen_ from transport_client_socket_pool_test_util.cc 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
« no previous file with comments | « net/socket/unix_domain_client_socket_posix.cc ('k') | net/spdy/spdy_proxy_client_socket.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 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/websocket_endpoint_lock_manager.h" 5 #include "net/socket/websocket_endpoint_lock_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 int GetLocalAddress(IPEndPoint* address) const override { return ERR_FAILED; } 43 int GetLocalAddress(IPEndPoint* address) const override { return ERR_FAILED; }
44 44
45 const BoundNetLog& NetLog() const override { return bound_net_log_; } 45 const BoundNetLog& NetLog() const override { return bound_net_log_; }
46 46
47 void SetSubresourceSpeculation() override { return; } 47 void SetSubresourceSpeculation() override { return; }
48 void SetOmniboxSpeculation() override { return; } 48 void SetOmniboxSpeculation() override { return; }
49 49
50 bool WasEverUsed() const override { return false; } 50 bool WasEverUsed() const override { return false; }
51 51
52 bool UsingTCPFastOpen() const override { return false; }
53
54 bool WasNpnNegotiated() const override { return false; } 52 bool WasNpnNegotiated() const override { return false; }
55 53
56 NextProto GetNegotiatedProtocol() const override { return kProtoUnknown; } 54 NextProto GetNegotiatedProtocol() const override { return kProtoUnknown; }
57 55
58 bool GetSSLInfo(SSLInfo* ssl_info) override { return false; } 56 bool GetSSLInfo(SSLInfo* ssl_info) override { return false; }
59 57
60 void GetConnectionAttempts(ConnectionAttempts* out) const override { 58 void GetConnectionAttempts(ConnectionAttempts* out) const override {
61 out->clear(); 59 out->clear();
62 } 60 }
63 61
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 blocking_waiter.WaitForLock(); 324 blocking_waiter.WaitForLock();
327 TimeTicks after_unlock = TimeTicks::Now(); 325 TimeTicks after_unlock = TimeTicks::Now();
328 EXPECT_GE(after_unlock - before_unlock, unlock_delay); 326 EXPECT_GE(after_unlock - before_unlock, unlock_delay);
329 instance()->SetUnlockDelayForTesting(base::TimeDelta()); 327 instance()->SetUnlockDelayForTesting(base::TimeDelta());
330 UnlockDummyEndpoint(1); 328 UnlockDummyEndpoint(1);
331 } 329 }
332 330
333 } // namespace 331 } // namespace
334 332
335 } // namespace net 333 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/unix_domain_client_socket_posix.cc ('k') | net/spdy/spdy_proxy_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698