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

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

Issue 1221663009: Expose API to store and load data usage stats from UI task runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Breakdown
Patch Set: Add missing Pass. Created 5 years, 5 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_settings.h
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h
index 350992c245c25f576ce7e0473869523157841b19..ded2795ad5fe45ca3c343711d0df05eb3369ff99 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h
@@ -12,11 +12,13 @@
class PrefService;
namespace base {
+class SequencedTaskRunner;
class SingleThreadTaskRunner;
}
namespace data_reduction_proxy {
class DataReductionProxyIOData;
+class DataStore;
}
namespace net {
@@ -61,7 +63,9 @@ class DataReductionProxyChromeSettings
data_reduction_proxy::DataReductionProxyIOData* io_data,
PrefService* profile_prefs,
net::URLRequestContextGetter* request_context_getter,
- const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner);
+ scoped_ptr<data_reduction_proxy::DataStore> store,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner,
+ const scoped_refptr<base::SequencedTaskRunner>& db_task_runner);
// Gets the client type for the data reduction proxy.
static data_reduction_proxy::Client GetClient();

Powered by Google App Engine
This is Rietveld 408576698