OLD | NEW |
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" |
11 | 11 |
12 class DataReductionProxyChromeConfigurator; | |
13 class PrefService; | 12 class PrefService; |
14 | 13 |
15 namespace base { | 14 namespace base { |
16 class SingleThreadTaskRunner; | 15 class SingleThreadTaskRunner; |
17 } | 16 } |
18 | 17 |
19 namespace data_reduction_proxy { | 18 namespace data_reduction_proxy { |
20 class DataReductionProxyIOData; | 19 class DataReductionProxyIOData; |
21 } | 20 } |
22 | 21 |
23 namespace net { | 22 namespace net { |
24 class NetLog; | 23 class NetLog; |
25 } | 24 } |
26 | 25 |
27 // Constructs DataReductionProxyIOData suitable for use by ProfileImpl and | 26 // Constructs DataReductionProxyIOData suitable for use by ProfileImpl and |
28 // ProfileImplIOData. | 27 // ProfileImplIOData. |
29 std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData> | 28 std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData> |
30 CreateDataReductionProxyChromeIOData( | 29 CreateDataReductionProxyChromeIOData( |
31 net::NetLog* net_log, | 30 net::NetLog* net_log, |
32 PrefService* prefs, | 31 PrefService* prefs, |
33 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_runner, | 32 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_runner, |
34 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread_runner); | 33 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread_runner); |
35 | 34 |
36 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ | 35 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ |
OLD | NEW |