OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_QUIC_QUIC_ACK_LISTENER_INTERFACE_H_ | 5 #ifndef NET_QUIC_QUIC_ACK_LISTENER_INTERFACE_H_ |
6 #define NET_QUIC_QUIC_ACK_LISTENER_INTERFACE_H_ | 6 #define NET_QUIC_QUIC_ACK_LISTENER_INTERFACE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "net/quic/quic_protocol.h" | 9 #include "net/quic/quic_protocol.h" |
11 #include "net/quic/quic_time.h" | 10 #include "net/quic/quic_time.h" |
12 | 11 |
13 namespace net { | 12 namespace net { |
14 | 13 |
15 // Pure virtual class to listen for packet acknowledgements. | 14 // Pure virtual class to listen for packet acknowledgements. |
16 class NET_EXPORT_PRIVATE QuicAckListenerInterface | 15 class NET_EXPORT_PRIVATE QuicAckListenerInterface |
17 : public base::RefCounted<QuicAckListenerInterface> { | 16 : public base::RefCounted<QuicAckListenerInterface> { |
18 public: | 17 public: |
(...skipping 11 matching lines...) Expand all Loading... |
30 protected: | 29 protected: |
31 friend class base::RefCounted<QuicAckListenerInterface>; | 30 friend class base::RefCounted<QuicAckListenerInterface>; |
32 | 31 |
33 // Delegates are ref counted. | 32 // Delegates are ref counted. |
34 virtual ~QuicAckListenerInterface() {} | 33 virtual ~QuicAckListenerInterface() {} |
35 }; | 34 }; |
36 | 35 |
37 } // namespace net | 36 } // namespace net |
38 | 37 |
39 #endif // NET_QUIC_QUIC_ACK_LISTENER_INTERFACE_H_ | 38 #endif // NET_QUIC_QUIC_ACK_LISTENER_INTERFACE_H_ |
OLD | NEW |