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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h

Issue 1173343009: LevelDB storage for data reduction proxy to store data usage stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 6 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h
index b4eff3b7585d938bada691f35451011a36351fce..47df20c6b61f82e84e51515234c464c5b5c36d81 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h
@@ -69,11 +69,12 @@ class DataReductionProxyService
// final step in initialization.
bool Initialized() const;
- // Constructs compression stats. This should not be called if a valid
- // compression stats is passed into the constructor.
+ // Constructs compression stats with a dummy store. This should not be called
+ // if a valid compression stats is passed into the constructor.
void EnableCompressionStatisticsLogging(
PrefService* prefs,
- scoped_refptr<base::SequencedTaskRunner> ui_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> db_task_runner,
const base::TimeDelta& commit_delay);
// Records daily data savings statistics in |compression_stats_|.

Powered by Google App Engine
This is Rietveld 408576698