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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 2899313006: Plumb NQP to context and to http_proxy_client_socket_pool (Closed)
Patch Set: Rebased 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 644fd76b0ff6405def02008a4b389b14819acde0..9825110f711b163952392bc0d5c36b8d7de3f27d 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -1312,7 +1312,8 @@ ProfileIOData::CreateHttpNetworkSession(
net::HttpNetworkSession::Context session_context;
net::URLRequestContextBuilder::SetHttpNetworkSessionComponents(
context, &session_context);
- if (!IsOffTheRecord() && io_thread->globals()->network_quality_estimator) {
+ DCHECK(io_thread->globals()->network_quality_estimator);
mmenke 2017/06/07 21:31:25 Does this DCHECK get us anything?
tbansal1 2017/06/08 05:01:49 Done.
+ if (!IsOffTheRecord()) {
session_context.socket_performance_watcher_factory =
io_thread->globals()
->network_quality_estimator->GetSocketPerformanceWatcherFactory();

Powered by Google App Engine
This is Rietveld 408576698