| 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_NQE_NETWORK_QUALITY_ESTIMATOR_H_ | 5 #ifndef NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ |
| 6 #define NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ | 6 #define NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 const EffectiveConnectionType forced_effective_connection_type_; | 765 const EffectiveConnectionType forced_effective_connection_type_; |
| 766 | 766 |
| 767 // Set to true if reading of the network quality prefs is enabled. | 767 // Set to true if reading of the network quality prefs is enabled. |
| 768 const bool persistent_cache_reading_enabled_; | 768 const bool persistent_cache_reading_enabled_; |
| 769 | 769 |
| 770 base::ThreadChecker thread_checker_; | 770 base::ThreadChecker thread_checker_; |
| 771 | 771 |
| 772 // Manages the writing of events to the net log. | 772 // Manages the writing of events to the net log. |
| 773 nqe::internal::EventCreator event_creator_; | 773 nqe::internal::EventCreator event_creator_; |
| 774 | 774 |
| 775 // Vector that contains observation sources that should not be used when |
| 776 // computing the estimate at HTTP layer. |
| 777 const std::vector<NetworkQualityObservationSource> |
| 778 disallowed_observation_sources_for_http_; |
| 779 |
| 780 // Vector that contains observation sources that should not be used when |
| 781 // computing the estimate at transport layer. |
| 782 const std::vector<NetworkQualityObservationSource> |
| 783 disallowed_observation_sources_for_transport_; |
| 784 |
| 775 base::WeakPtrFactory<NetworkQualityEstimator> weak_ptr_factory_; | 785 base::WeakPtrFactory<NetworkQualityEstimator> weak_ptr_factory_; |
| 776 | 786 |
| 777 DISALLOW_COPY_AND_ASSIGN(NetworkQualityEstimator); | 787 DISALLOW_COPY_AND_ASSIGN(NetworkQualityEstimator); |
| 778 }; | 788 }; |
| 779 | 789 |
| 780 } // namespace net | 790 } // namespace net |
| 781 | 791 |
| 782 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ | 792 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_H_ |
| OLD | NEW |