Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / net / spdyproxy / data_reduction_proxy_chrome_io_data.h
blobd39c0a13da77332228f31cd5ca6b7eb328fde9a8
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
3 // found in the LICENSE file.
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_
8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h"
11 class DataReductionProxyChromeConfigurator;
12 class PrefService;
14 namespace base {
15 class SingleThreadTaskRunner;
18 namespace data_reduction_proxy {
19 class DataReductionProxyIOData;
22 namespace net {
23 class NetLog;
26 // Constructs DataReductionProxyIOData suitable for use by ProfileImpl and
27 // ProfileImplIOData.
28 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData>
29 CreateDataReductionProxyChromeIOData(
30 net::NetLog* net_log,
31 PrefService* prefs,
32 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_runner,
33 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread_runner,
34 bool enable_quic);
36 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_