| 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 <string> | 13 #include <string> |
| 14 #include <tuple> | 14 #include <tuple> |
| 15 | 15 |
| 16 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
| 21 #include "base/observer_list.h" | 21 #include "base/observer_list.h" |
| 22 #include "base/threading/thread_checker.h" | 22 #include "base/threading/thread_checker.h" |
| 23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
| 24 #include "net/base/external_estimate_provider.h" | |
| 25 #include "net/base/net_export.h" | 24 #include "net/base/net_export.h" |
| 26 #include "net/base/network_change_notifier.h" | 25 #include "net/base/network_change_notifier.h" |
| 27 #include "net/base/socket_performance_watcher_factory.h" | 26 #include "net/nqe/external_estimate_provider.h" |
| 27 #include "net/socket/socket_performance_watcher_factory.h" |
| 28 | 28 |
| 29 namespace base { | 29 namespace base { |
| 30 class SingleThreadTaskRunner; | 30 class SingleThreadTaskRunner; |
| 31 } // namespace base | 31 } // namespace base |
| 32 | 32 |
| 33 namespace net { | 33 namespace net { |
| 34 | 34 |
| 35 class URLRequest; | 35 class URLRequest; |
| 36 | 36 |
| 37 // NetworkQualityEstimator provides network quality estimates (quality of the | 37 // NetworkQualityEstimator provides network quality estimates (quality of the |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 | 619 |
| 620 base::ThreadChecker thread_checker_; | 620 base::ThreadChecker thread_checker_; |
| 621 | 621 |
| 622 base::WeakPtrFactory<NetworkQualityEstimator> weak_ptr_factory_; | 622 base::WeakPtrFactory<NetworkQualityEstimator> weak_ptr_factory_; |
| 623 | 623 |
| 624 DISALLOW_COPY_AND_ASSIGN(NetworkQualityEstimator); | 624 DISALLOW_COPY_AND_ASSIGN(NetworkQualityEstimator); |
| 625 }; | 625 }; |
| 626 | 626 |
| 627 } // namespace net | 627 } // namespace net |
| 628 | 628 |
| 629 #endif // NET_BASE_NETWORK_QUALITY_ESTIMATOR_H_ | 629 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ |
| OLD | NEW |