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 #ifndef COMPONENTS_DOMAIN_RELIABILITY_UTIL_H_ | 5 #ifndef COMPONENTS_DOMAIN_RELIABILITY_UTIL_H_ |
6 #define COMPONENTS_DOMAIN_RELIABILITY_UTIL_H_ | 6 #define COMPONENTS_DOMAIN_RELIABILITY_UTIL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
14 #include "base/time/clock.h" | 15 #include "base/time/clock.h" |
15 #include "base/time/tick_clock.h" | 16 #include "base/time/tick_clock.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
17 #include "base/tracked_objects.h" | 18 #include "base/tracked_objects.h" |
18 #include "components/domain_reliability/domain_reliability_export.h" | 19 #include "components/domain_reliability/domain_reliability_export.h" |
19 #include "components/domain_reliability/uploader.h" | 20 #include "components/domain_reliability/uploader.h" |
20 #include "net/http/http_response_info.h" | 21 #include "net/http/http_response_info.h" |
21 #include "net/quic/quic_protocol.h" | 22 #include "net/quic/quic_protocol.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 111 |
111 // MockableTime implementation: | 112 // MockableTime implementation: |
112 base::Time Now() override; | 113 base::Time Now() override; |
113 base::TimeTicks NowTicks() override; | 114 base::TimeTicks NowTicks() override; |
114 scoped_ptr<MockableTime::Timer> CreateTimer() override; | 115 scoped_ptr<MockableTime::Timer> CreateTimer() override; |
115 }; | 116 }; |
116 | 117 |
117 } // namespace domain_reliability | 118 } // namespace domain_reliability |
118 | 119 |
119 #endif // COMPONENTS_DOMAIN_RELIABILITY_UTIL_H_ | 120 #endif // COMPONENTS_DOMAIN_RELIABILITY_UTIL_H_ |
OLD | NEW |