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

Side by Side Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_
6 #define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ 6 #define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 13 matching lines...) Expand all
24 class NetLog; 24 class NetLog;
25 } 25 }
26 26
27 // Constructs DataReductionProxyIOData suitable for use by ProfileImpl and 27 // Constructs DataReductionProxyIOData suitable for use by ProfileImpl and
28 // ProfileImplIOData. 28 // ProfileImplIOData.
29 std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData> 29 std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData>
30 CreateDataReductionProxyChromeIOData( 30 CreateDataReductionProxyChromeIOData(
31 net::NetLog* net_log, 31 net::NetLog* net_log,
32 PrefService* prefs, 32 PrefService* prefs,
33 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_runner, 33 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_runner,
34 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread_runner, 34 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread_runner);
35 bool enable_quic);
36 35
37 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ 36 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698