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

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

Issue 1862193002: Enable QUIC for proxies only when QUIC is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sclittle comments Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index 008b16009362f82162cbe0672b7be284c1bb4846..49b9a266cc34c2c570e158fc385a849d6c0683b0 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -178,17 +178,11 @@ void ProfileImplIOData::Handle::Init(
if (io_data_->domain_reliability_monitor_)
io_data_->domain_reliability_monitor_->MoveToNetworkThread();
- // TODO(tbansal): Move this to IO thread once the data reduction proxy
- // params are unified into a single object.
- bool enable_quic_for_data_reduction_proxy =
- IOThread::ShouldEnableQuicForDataReductionProxy();
-
io_data_->set_data_reduction_proxy_io_data(
CreateDataReductionProxyChromeIOData(
g_browser_process->io_thread()->net_log(), profile_->GetPrefs(),
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
- enable_quic_for_data_reduction_proxy));
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)));
base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool();
scoped_refptr<base::SequencedTaskRunner> db_task_runner =

Powered by Google App Engine
This is Rietveld 408576698