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

Unified Diff: chrome/browser/ui/webui/browsing_history_handler.cc

Issue 2516283002: Revert of Add TODO to BrowsingHistoryHandler regarding WebHistory deletion. (Closed)
Patch Set: Created 4 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/browsing_history_handler.cc
diff --git a/chrome/browser/ui/webui/browsing_history_handler.cc b/chrome/browser/ui/webui/browsing_history_handler.cc
index 0f6ff5ed400b61be940cb00cc271497f132dd593..cd6fd97f57fa259f1fefdc0c1d5adc87ba40cdc1 100644
--- a/chrome/browser/ui/webui/browsing_history_handler.cc
+++ b/chrome/browser/ui/webui/browsing_history_handler.cc
@@ -540,13 +540,6 @@
web_ui()->CallJavascriptFunctionUnsafe("historyDeleted");
}
-void BrowsingHistoryHandler::OnWebHistoryDeleted() {
- // TODO(calamity): Only ignore web history deletions when they are actually
- // initiated by us, rather than ignoring them whenever we are deleting.
- if (!has_pending_delete_request_)
- web_ui()->CallJavascriptFunctionUnsafe("historyDeleted");
-}
-
void BrowsingHistoryHandler::HasOtherFormsOfBrowsingHistory(
bool has_other_forms,
bool has_synced_results) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698