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 62586e427ce95405f83f3ecca7b123f908fbc5e0..368dc60c84ba4d0e3cbbe48dc6f3ab4569402ae8 100644 |
--- a/components/browsing_data/core/browsing_data_utils.h |
+++ b/components/browsing_data/core/browsing_data_utils.h |
@@ -49,6 +49,12 @@ base::Time CalculateBeginDeleteTime(TimePeriod time_period); |
base::string16 GetCounterTextFromResult( |
const browsing_data::BrowsingDataCounter::Result* result); |
+// Copies the name of the deletion preference corresponding to the given |
+// |data_type| to |out_pref|. Returns false if no such preference exists. |
+bool GetDeletionPreferenceFromDataType( |
+ BrowsingDataType data_type, |
+ std::string* out_pref); |
+ |
} // namespace browsing_data |
#endif // COMPONENTS_BROWSING_DATA_CORE_BROWSING_DATA_UTILS_H_ |