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..f60240cf7bee2cfb26bb2ceb9ba9fed8ae833a34 |
--- /dev/null |
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h |
@@ -0,0 +1,42 @@ |
+// 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 DataReductionProxyChromeConfigurator; |
+class PrefService; |
+ |
+namespace base { |
+class SingleThreadTaskRunner; |
+} |
+ |
+namespace content { |
+class BrowserContext; |
+} |
+ |
+namespace data_reduction_proxy { |
+class DataReductionProxyConfigurator; |
+class DataReductionProxyIOData; |
+class DataReductionProxySettings; |
+} |
+ |
+namespace net { |
+class NetLog; |
+} |
+ |
+// Constructs DataReductionProxyIOData suitable for use by ProfileImpl and |
+// ProfileImplIOData. |
+scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> |
+CreateDataReductionProxyChromeIOData( |
+ net::NetLog* 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_ |