Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Side by Side Diff: net/nqe/network_quality_estimator.h

Issue 2707633002: NQE: Cleanup the calls to the observation buffer (Closed)
Patch Set: ps Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | net/nqe/network_quality_estimator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | net/nqe/network_quality_estimator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698