| Index: components/browsing_data/core/browsing_data_utils.h
|
| diff --git a/components/browsing_data/core/browsing_data_utils.h b/components/browsing_data/core/browsing_data_utils.h
|
| index 449dfe5b59bccc172db80a5487fdaf995d42d4c3..62586e427ce95405f83f3ecca7b123f908fbc5e0 100644
|
| --- a/components/browsing_data/core/browsing_data_utils.h
|
| +++ b/components/browsing_data/core/browsing_data_utils.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/strings/string16.h"
|
| #include "base/time/time.h"
|
| +#include "components/browsing_data/core/counters/browsing_data_counter.h"
|
|
|
| namespace browsing_data {
|
|
|
| @@ -42,6 +43,12 @@ enum TimePeriod {
|
| // Calculate the begin time for the deletion range specified by |time_period|.
|
| base::Time CalculateBeginDeleteTime(TimePeriod time_period);
|
|
|
| +// Constructs the text to be displayed by a counter from the given |result|.
|
| +// Currently this can only be used for counters for which the Result is defined
|
| +// in components/browsing_data/core/counters.
|
| +base::string16 GetCounterTextFromResult(
|
| + const browsing_data::BrowsingDataCounter::Result* result);
|
| +
|
| } // namespace browsing_data
|
|
|
| #endif // COMPONENTS_BROWSING_DATA_CORE_BROWSING_DATA_UTILS_H_
|
|
|