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

Unified Diff: components/browsing_data_ui/history_notice_utils.cc

Issue 2106093003: Remove legacy ShouldPopupDialogAboutOtherFormsOfBrowsingHistory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 15f20beba44d2b01e1cb91ae329b84394a803848..dca2c14e15fdbbad636ece4f78313e1649b804a5 100644
--- a/components/browsing_data_ui/history_notice_utils.cc
+++ b/components/browsing_data_ui/history_notice_utils.cc
@@ -112,19 +112,4 @@ void ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
&MergeBooleanCallbacks::RunCallback, base::Unretained(merger)));
}
-// TODO(crbug.com/614319): This function is deprecated and should be removed.
-void ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
- const sync_driver::SyncService* sync_service,
- history::WebHistoryService* history_service,
- base::Callback<void(bool)> callback) {
- if (!history_service ||
- !testing::g_override_other_forms_of_browsing_history_query) {
- callback.Run(false);
- return;
- }
-
- 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