| Index: net/http/http_stream_factory_impl.h
|
| diff --git a/net/http/http_stream_factory_impl.h b/net/http/http_stream_factory_impl.h
|
| index ce29d1f737245db52d205d9bb0f360e4afb51d14..eba575ec8bed9ad81ef590f70186e6995d0690e7 100644
|
| --- a/net/http/http_stream_factory_impl.h
|
| +++ b/net/http/http_stream_factory_impl.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "net/base/host_port_pair.h"
|
| #include "net/base/net_export.h"
|
| +#include "net/base/network_change_notifier.h"
|
| #include "net/base/privacy_mode.h"
|
| #include "net/base/request_priority.h"
|
| #include "net/http/http_stream_factory.h"
|
| @@ -31,7 +32,9 @@ class ProxyInfo;
|
| class SpdySession;
|
| class NetLogWithSource;
|
|
|
| -class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
|
| +class NET_EXPORT_PRIVATE HttpStreamFactoryImpl
|
| + : public HttpStreamFactory,
|
| + NetworkChangeNotifier::MetricsObserver {
|
| public:
|
| class NET_EXPORT_PRIVATE Job;
|
| class NET_EXPORT_PRIVATE JobController;
|
| @@ -85,6 +88,9 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
|
| PRECONNECT,
|
| };
|
|
|
| + // NetworkChangeNotifier::MetricsObserver implementation.
|
| + void OnMetricsFinalize() override;
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, SetPriority);
|
| FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, DelayMainJob);
|
| @@ -191,6 +197,8 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
|
|
|
| const bool for_websockets_;
|
|
|
| + base::ThreadChecker thread_checker_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
|
| };
|
|
|
|
|