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

Side by Side Diff: content/public/browser/network_quality_observer_factory.h

Issue 2927453002: Make NQE a derived class of NetworkQualityProvider (Closed)
Patch Set: some more IWYU fixes Created 3 years, 6 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 | « content/browser/net/network_quality_observer_impl.cc ('k') | net/BUILD.gn » ('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 (c) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 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 CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_
6 #define CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_ 6 #define CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
11 #include "content/public/browser/notification_registrar.h" 11 #include "content/public/browser/notification_registrar.h"
12 #include "content/public/browser/notification_service.h" 12 #include "content/public/browser/notification_service.h"
13 #include "content/public/browser/notification_types.h" 13 #include "content/public/browser/notification_types.h"
14 #include "content/public/browser/render_process_host.h" 14 #include "content/public/browser/render_process_host.h"
15 #include "net/nqe/network_quality_estimator.h" 15 #include "net/nqe/rtt_throughput_estimates_observer.h"
16
17 namespace net {
18 class NetworkQualityEstimator;
19 }
16 20
17 namespace content { 21 namespace content {
18 22
19 // Creates network quality observer that listens for changes to the network 23 // Creates network quality observer that listens for changes to the network
20 // quality and manages sending updates to each RenderProcess. 24 // quality and manages sending updates to each RenderProcess.
21 CONTENT_EXPORT std::unique_ptr< 25 CONTENT_EXPORT std::unique_ptr<net::RTTAndThroughputEstimatesObserver>
22 net::NetworkQualityEstimator::RTTAndThroughputEstimatesObserver>
23 CreateNetworkQualityObserver( 26 CreateNetworkQualityObserver(
24 net::NetworkQualityEstimator* network_quality_estimator); 27 net::NetworkQualityEstimator* network_quality_estimator);
25 28
26 } // namespace content 29 } // namespace content
27 30
28 #endif // CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_ 31 #endif // CONTENT_PUBLIC_BROWSER_NETWORK_QUALITY_OBSERVER_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/net/network_quality_observer_impl.cc ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698