Chromium Code Reviews| Index: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h |
| diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..15cced39fa713f75928e8f6f3574a2cad51a9e9e |
| --- /dev/null |
| +++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h |
| @@ -0,0 +1,39 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ |
| +#define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ |
| + |
| +#include "base/memory/ref_counted.h" |
| +#include "base/memory/scoped_ptr.h" |
| + |
| +class ChromeNetLog; |
|
mmenke
2015/01/22 17:14:48
Suggest just making this take a net::NetLog. Does
bengr
2015/01/23 20:09:03
Done.
|
| +class DataReductionProxyChromeConfigurator; |
| +class PrefService; |
| + |
| +namespace base { |
| +class SingleThreadTaskRunner; |
| +} |
| + |
| +namespace content { |
| +class BrowserContext; |
| +} |
| + |
| +namespace data_reduction_proxy { |
| +class DataReductionProxyConfigurator; |
| +class DataReductionProxyIOData; |
| +class DataReductionProxySettings; |
| +} |
| + |
| +// Constructs DataReductionProxyIOData suitable for use by ProfileImpl and |
| +// ProfileImplIOData. |
| +scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> |
| +CreateDataReductionProxyChromeIOData( |
| + ChromeNetLog* net_log, |
| + content::BrowserContext* browser_context, |
| + PrefService* prefs, |
| + const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_runner, |
| + const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread_runner); |
| + |
| +#endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_ |