Delete historical data usage from store when user clears data usage.
commit7305eb15590a4a3b363eeed2f1ed1b8638ee37fe
authorkundaji <kundaji@chromium.org>
Fri, 18 Sep 2015 23:11:24 +0000 (18 16:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 23:12:00 +0000 (18 23:12 +0000)
treed5639e52f3c6ccb6f2c4c965896a3d2888cd1ba5
parent3f850df91b4e50442916554dc6e77294e3b6822c
Delete historical data usage from store when user clears data usage.

Delete data usage in LevelDB in addition to clearing stats store in
browser preferences.

BUG=482442,461022

Review URL: https://codereview.chromium.org/1346623004

Cr-Commit-Position: refs/heads/master@{#349805}
16 files changed:
components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h
components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h
components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h
components/data_reduction_proxy/core/browser/data_store.cc
components/data_reduction_proxy/core/browser/data_store.h
components/data_reduction_proxy/core/browser/data_store_impl.cc
components/data_reduction_proxy/core/browser/data_store_impl.h
components/data_reduction_proxy/core/browser/data_usage_store.cc
components/data_reduction_proxy/core/browser/data_usage_store.h
components/data_reduction_proxy/core/browser/data_usage_store_unittest.cc
components/data_reduction_proxy/core/browser/db_data_owner.cc
components/data_reduction_proxy/core/browser/db_data_owner.h