Chromium Code Reviews| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h |
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h |
| index 3aea4f40646b4cfc2109e28b3b56b63651563c72..70d5798eedac1182a4016e9d986934f74999edd2 100644 |
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h |
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h |
| @@ -13,6 +13,7 @@ |
| #include "base/memory/weak_ptr.h" |
| #include "base/threading/thread_checker.h" |
| #include "base/time/time.h" |
| +#include "base/values.h" |
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h" |
| class PrefChangeRegistrar; |
| @@ -64,6 +65,11 @@ public: |
| // |DataReductionProxyListPrefMap| to |pref_service|. |
| void WritePrefs(); |
| + // Creates a |Value| summary of the persistent state of the network session. |
| + // The caller is responsible for deleting the returned value. |
| + // Must be called on the UI thread. |
| + base::Value* HistoricNetworkStatsInfoToValue(); |
|
bengr
2015/03/09 16:19:46
Can base::Value be forward declared instead?
megjablon
2015/03/09 20:15:40
Done.
|
| + |
| base::WeakPtr<DataReductionProxyStatisticsPrefs> GetWeakPtr(); |
| private: |