OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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. |
| 4 |
| 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_ |
| 7 |
| 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 10 |
| 11 class ChromeNetLog; |
| 12 class DataReductionProxyChromeConfigurator; |
| 13 class PrefServiceSyncable; |
| 14 |
| 15 namespace base { |
| 16 class SingleThreadTaskRunner; |
| 17 } |
| 18 |
| 19 namespace content { |
| 20 class BrowserContext; |
| 21 } |
| 22 |
| 23 namespace data_reduction_proxy { |
| 24 class DataReductionProxyConfigurator; |
| 25 class DataReductionProxyIOData; |
| 26 class DataReductionProxySettings; |
| 27 } |
| 28 |
| 29 // Constructs DataReductionProxyIOData suitable for use by ProfileImpl and |
| 30 // ProfileImplIOData. |
| 31 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> |
| 32 CreateDataReductionProxyChromeIOData( |
| 33 ChromeNetLog* net_log, |
| 34 content::BrowserContext* browser_context, |
| 35 PrefServiceSyncable* prefs, |
| 36 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_runner, |
| 37 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread_runner, |
| 38 data_reduction_proxy::DataReductionProxyConfigurator** configurator); |
| 39 |
| 40 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ |
OLD | NEW |