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

Side by Side 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: Rebase 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 unified diff | Download patch
OLDNEW
(Empty)
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
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;
mmenke 2015/01/22 17:14:48 Suggest just making this take a net::NetLog. Does
bengr 2015/01/23 20:09:03 Done.
12 class DataReductionProxyChromeConfigurator;
13 class PrefService;
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 PrefService* prefs,
36 const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_runner,
37 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread_runner);
38
39 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698