Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1808)

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h

Issue 778463002: Wrapped data reduction proxy initialization into its own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@network-delegate
Patch Set: Updated test Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « chrome/browser/net/predictor.cc ('k') | chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698