OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |