OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BASE_BACKOFF_ENTRY_H_ | 5 #ifndef NET_BASE_BACKOFF_ENTRY_H_ |
6 #define NET_BASE_BACKOFF_ENTRY_H_ | 6 #define NET_BASE_BACKOFF_ENTRY_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/threading/non_thread_safe.h" | 11 #include "base/threading/non_thread_safe.h" |
10 #include "base/time/time.h" | 12 #include "base/time/time.h" |
11 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
12 | 14 |
13 namespace base { | 15 namespace base { |
14 class TickClock; | 16 class TickClock; |
15 } | 17 } |
16 | 18 |
17 namespace net { | 19 namespace net { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 const Policy* const policy_; // Not owned. | 128 const Policy* const policy_; // Not owned. |
127 | 129 |
128 base::TickClock* const clock_; // Not owned. | 130 base::TickClock* const clock_; // Not owned. |
129 | 131 |
130 DISALLOW_COPY_AND_ASSIGN(BackoffEntry); | 132 DISALLOW_COPY_AND_ASSIGN(BackoffEntry); |
131 }; | 133 }; |
132 | 134 |
133 } // namespace net | 135 } // namespace net |
134 | 136 |
135 #endif // NET_BASE_BACKOFF_ENTRY_H_ | 137 #endif // NET_BASE_BACKOFF_ENTRY_H_ |
OLD | NEW |