OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_QUALITY_ESTIMATOR_H_ | 5 #ifndef NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ |
6 #define NET_BASE_NETWORK_QUALITY_ESTIMATOR_H_ | 6 #define NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <deque> | 11 #include <deque> |
12 #include <map> | 12 #include <map> |
13 #include <memory> | 13 #include <memory> |
14 #include <string> | 14 #include <string> |
15 #include <tuple> | 15 #include <tuple> |
16 | 16 |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/gtest_prod_util.h" | 18 #include "base/gtest_prod_util.h" |
19 #include "base/macros.h" | 19 #include "base/macros.h" |
20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
22 #include "base/observer_list.h" | 22 #include "base/observer_list.h" |
23 #include "base/threading/thread_checker.h" | 23 #include "base/threading/thread_checker.h" |
24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
25 #include "net/base/external_estimate_provider.h" | |
26 #include "net/base/net_export.h" | 25 #include "net/base/net_export.h" |
27 #include "net/base/network_change_notifier.h" | 26 #include "net/base/network_change_notifier.h" |
28 #include "net/base/socket_performance_watcher_factory.h" | 27 #include "net/nqe/external_estimate_provider.h" |
| 28 #include "net/socket/socket_performance_watcher_factory.h" |
29 | 29 |
30 namespace base { | 30 namespace base { |
31 class SingleThreadTaskRunner; | 31 class SingleThreadTaskRunner; |
32 } // namespace base | 32 } // namespace base |
33 | 33 |
34 namespace net { | 34 namespace net { |
35 | 35 |
36 class URLRequest; | 36 class URLRequest; |
37 | 37 |
38 // NetworkQualityEstimator provides network quality estimates (quality of the | 38 // NetworkQualityEstimator provides network quality estimates (quality of the |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 | 661 |
662 base::ThreadChecker thread_checker_; | 662 base::ThreadChecker thread_checker_; |
663 | 663 |
664 base::WeakPtrFactory<NetworkQualityEstimator> weak_ptr_factory_; | 664 base::WeakPtrFactory<NetworkQualityEstimator> weak_ptr_factory_; |
665 | 665 |
666 DISALLOW_COPY_AND_ASSIGN(NetworkQualityEstimator); | 666 DISALLOW_COPY_AND_ASSIGN(NetworkQualityEstimator); |
667 }; | 667 }; |
668 | 668 |
669 } // namespace net | 669 } // namespace net |
670 | 670 |
671 #endif // NET_BASE_NETWORK_QUALITY_ESTIMATOR_H_ | 671 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ |
OLD | NEW |