Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
|
RyanSturm
2017/05/08 17:37:20
Include this in content/public/browser/BUILD.gn
tbansal1
2017/05/08 19:50:19
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_ | |
| 6 #define CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "content/common/content_export.h" | |
| 10 #include "content/public/browser/notification_observer.h" | |
| 11 #include "content/public/browser/notification_registrar.h" | |
| 12 #include "content/public/browser/notification_service.h" | |
| 13 #include "content/public/browser/notification_types.h" | |
| 14 #include "content/public/browser/render_process_host.h" | |
| 15 #include "net/nqe/network_quality_estimator.h" | |
| 16 | |
| 17 namespace content { | |
| 18 | |
| 19 // Creates network quality observer that listens for changes to the network | |
| 20 // quality and manages sending updates to each RenderProcess. | |
| 21 CONTENT_EXPORT std::unique_ptr< | |
| 22 net::NetworkQualityEstimator::RTTAndThroughputEstimatesObserver> | |
| 23 CreateNetworkQualityObserver( | |
| 24 net::NetworkQualityEstimator* network_quality_estimator); | |
| 25 | |
| 26 } // namespace content | |
| 27 | |
| 28 #endif // CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_ | |
| OLD | NEW |