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

Unified Diff: components/browsing_data_ui/history_notice_utils.h

Issue 1843003003: Add a method to determine when to show a one-time history notice in the CBD dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | components/browsing_data_ui/history_notice_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browsing_data_ui/history_notice_utils.h
diff --git a/components/browsing_data_ui/history_notice_utils.h b/components/browsing_data_ui/history_notice_utils.h
index dabd09a0a7eaa320b9bb65017c2e2bef9560db95..b6b68e9173df03ea23af392886eae46992fe09e9 100644
--- a/components/browsing_data_ui/history_notice_utils.h
+++ b/components/browsing_data_ui/history_notice_utils.h
@@ -23,6 +23,15 @@ void ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
history::WebHistoryService* history_service,
base::Callback<void(bool)> callback);
+// Whether the Clear Browsing Data UI should popup a dialog with information
+// about the existence of other forms of browsing history stored in user's
+// account when the user deletes their browsing history for the first time.
+// The response is returned in a |callback|.
+void ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
+ const ProfileSyncService* sync_service,
+ history::WebHistoryService* history_service,
+ base::Callback<void(bool)> callback);
+
} // namespace browsing_data_ui
#endif // COMPONENTS_BROWSING_DATA_UI_HISTORY_NOTICE_UTILS_H_
« no previous file with comments | « no previous file | components/browsing_data_ui/history_notice_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698