OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef NET_BASE_NETWORK_ACTIVITY_MONITOR_H_ | 5 #ifndef NET_BASE_NETWORK_ACTIVITY_MONITOR_H_ |
6 #define NET_BASE_NETWORK_ACTIVITY_MONITOR_H_ | 6 #define NET_BASE_NETWORK_ACTIVITY_MONITOR_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 11 #include "base/macros.h" |
10 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
11 #include "base/time/time.h" | 13 #include "base/time/time.h" |
12 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
13 | 15 |
14 namespace net { | 16 namespace net { |
15 | 17 |
16 namespace test { | 18 namespace test { |
17 | 19 |
18 class NetworkActivityMonitorPeer; | 20 class NetworkActivityMonitorPeer; |
19 | 21 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 61 |
60 base::TimeTicks last_received_ticks_; | 62 base::TimeTicks last_received_ticks_; |
61 base::TimeTicks last_sent_ticks_; | 63 base::TimeTicks last_sent_ticks_; |
62 | 64 |
63 DISALLOW_COPY_AND_ASSIGN(NetworkActivityMonitor); | 65 DISALLOW_COPY_AND_ASSIGN(NetworkActivityMonitor); |
64 }; | 66 }; |
65 | 67 |
66 } // namespace net | 68 } // namespace net |
67 | 69 |
68 #endif // NET_BASE_NETWORK_ACTIVITY_MONITOR_H_ | 70 #endif // NET_BASE_NETWORK_ACTIVITY_MONITOR_H_ |
OLD | NEW |