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

Unified Diff: components/browsing_data_ui/history_notice_utils.cc

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 | « components/browsing_data_ui/history_notice_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browsing_data_ui/history_notice_utils.cc
diff --git a/components/browsing_data_ui/history_notice_utils.cc b/components/browsing_data_ui/history_notice_utils.cc
index 0abea5aa61e40a005f2a29cd44214e6af3f73291..c651520c80b4ca7151bb3082d255392d4c311c6a 100644
--- a/components/browsing_data_ui/history_notice_utils.cc
+++ b/components/browsing_data_ui/history_notice_utils.cc
@@ -26,4 +26,12 @@ void ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
history_service->QueryWebAndAppActivity(callback);
}
+void ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
+ const ProfileSyncService* sync_service,
+ history::WebHistoryService* history_service,
+ base::Callback<void(bool)> callback) {
+ ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
+ sync_service, history_service, callback);
+}
+
} // namespace browsing_data_ui
« no previous file with comments | « components/browsing_data_ui/history_notice_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698