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