| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_METRICS_NET_NETWORK_METRICS_PROVIDER_H_ | 5 #ifndef COMPONENTS_METRICS_NET_NETWORK_METRICS_PROVIDER_H_ |
| 6 #define COMPONENTS_METRICS_NET_NETWORK_METRICS_PROVIDER_H_ | 6 #define COMPONENTS_METRICS_NET_NETWORK_METRICS_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/metrics/histogram_base.h" | 12 #include "base/metrics/histogram_base.h" |
| 13 #include "base/sequenced_task_runner.h" |
| 13 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
| 14 #include "components/metrics/metrics_provider.h" | 15 #include "components/metrics/metrics_provider.h" |
| 15 #include "components/metrics/net/wifi_access_point_info_provider.h" | 16 #include "components/metrics/net/wifi_access_point_info_provider.h" |
| 16 #include "components/metrics/proto/system_profile.pb.h" | 17 #include "components/metrics/proto/system_profile.pb.h" |
| 17 #include "net/base/network_change_notifier.h" | 18 #include "net/base/network_change_notifier.h" |
| 18 #include "net/base/network_interfaces.h" | 19 #include "net/base/network_interfaces.h" |
| 19 #include "net/nqe/effective_connection_type.h" | 20 #include "net/nqe/effective_connection_type.h" |
| 20 | 21 |
| 21 namespace net { | 22 namespace net { |
| 22 class NetworkQualityEstimator; | 23 class NetworkQualityEstimator; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 base::ThreadChecker thread_checker_; | 149 base::ThreadChecker thread_checker_; |
| 149 | 150 |
| 150 base::WeakPtrFactory<NetworkMetricsProvider> weak_ptr_factory_; | 151 base::WeakPtrFactory<NetworkMetricsProvider> weak_ptr_factory_; |
| 151 | 152 |
| 152 DISALLOW_COPY_AND_ASSIGN(NetworkMetricsProvider); | 153 DISALLOW_COPY_AND_ASSIGN(NetworkMetricsProvider); |
| 153 }; | 154 }; |
| 154 | 155 |
| 155 } // namespace metrics | 156 } // namespace metrics |
| 156 | 157 |
| 157 #endif // COMPONENTS_METRICS_NET_NETWORK_METRICS_PROVIDER_H_ | 158 #endif // COMPONENTS_METRICS_NET_NETWORK_METRICS_PROVIDER_H_ |
| OLD | NEW |