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

Side by Side Diff: chrome/browser/metrics/network_quality_estimator_provider_impl.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "chrome/browser/metrics/network_quality_estimator_provider_impl.h" 5 #include "chrome/browser/metrics/network_quality_estimator_provider_impl.h"
6 6
7 #include "base/sequenced_task_runner.h"
7 #include "chrome/browser/io_thread.h" 8 #include "chrome/browser/io_thread.h"
8 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
9 10
10 namespace net { 11 namespace net {
11 class NetworkQualityEstimator; 12 class NetworkQualityEstimator;
12 } 13 }
13 14
14 namespace metrics { 15 namespace metrics {
15 16
16 NetworkQualityEstimatorProviderImpl::NetworkQualityEstimatorProviderImpl( 17 NetworkQualityEstimatorProviderImpl::NetworkQualityEstimatorProviderImpl(
(...skipping 16 matching lines...) Expand all
33 } 34 }
34 35
35 net::NetworkQualityEstimator* 36 net::NetworkQualityEstimator*
36 NetworkQualityEstimatorProviderImpl::GetNetworkQualityEstimator() { 37 NetworkQualityEstimatorProviderImpl::GetNetworkQualityEstimator() {
37 DCHECK(thread_checker_.CalledOnValidThread()); 38 DCHECK(thread_checker_.CalledOnValidThread());
38 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); 39 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
39 return io_thread_->globals()->network_quality_estimator.get(); 40 return io_thread_->globals()->network_quality_estimator.get();
40 } 41 }
41 42
42 } // namespace metrics 43 } // namespace metrics
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698