| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/nqe/network_quality_estimator.h" | 5 #ifndef NET_NQE_NETWORK_QUALITY_ESTIMATOR_TEST_UTIL_H_ |
| 6 #define NET_NQE_NETWORK_QUALITY_ESTIMATOR_TEST_UTIL_H_ |
| 6 | 7 |
| 7 #include <map> | 8 #include <map> |
| 8 #include <memory> | 9 #include <memory> |
| 9 #include <string> | 10 #include <string> |
| 10 #include <vector> | 11 #include <vector> |
| 11 | 12 |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 14 #include "net/base/network_change_notifier.h" | 15 #include "net/base/network_change_notifier.h" |
| 15 #include "net/nqe/effective_connection_type.h" | 16 #include "net/nqe/effective_connection_type.h" |
| 17 #include "net/nqe/network_quality_estimator.h" |
| 16 #include "net/test/embedded_test_server/embedded_test_server.h" | 18 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 18 #include "url/gurl.h" | 20 #include "url/gurl.h" |
| 19 | 21 |
| 20 namespace net { | 22 namespace net { |
| 21 | 23 |
| 22 class ExternalEstimateProvider; | 24 class ExternalEstimateProvider; |
| 23 | 25 |
| 24 namespace test_server { | 26 namespace test_server { |
| 25 struct HttpRequest; | 27 struct HttpRequest; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 int32_t recent_downlink_throughput_kbps_; | 190 int32_t recent_downlink_throughput_kbps_; |
| 189 | 191 |
| 190 double rand_double_; | 192 double rand_double_; |
| 191 | 193 |
| 192 EmbeddedTestServer embedded_test_server_; | 194 EmbeddedTestServer embedded_test_server_; |
| 193 | 195 |
| 194 DISALLOW_COPY_AND_ASSIGN(TestNetworkQualityEstimator); | 196 DISALLOW_COPY_AND_ASSIGN(TestNetworkQualityEstimator); |
| 195 }; | 197 }; |
| 196 | 198 |
| 197 } // namespace net | 199 } // namespace net |
| 200 |
| 201 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_TEST_UTIL_H_ |
| OLD | NEW |