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

Unified Diff: chrome/renderer/searchbox/searchbox.cc

Issue 2685863002: NTP: Rename mojo methods, fixing a TODO (Closed)
Patch Set: Created 3 years, 10 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 | « chrome/renderer/searchbox/searchbox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox.cc
diff --git a/chrome/renderer/searchbox/searchbox.cc b/chrome/renderer/searchbox/searchbox.cc
index 41a44b62773bc1e543dce3ed587373d20e5c9355..2b898d8b86cb59e974a3400caf9b1951b28de08b 100644
--- a/chrome/renderer/searchbox/searchbox.cc
+++ b/chrome/renderer/searchbox/searchbox.cc
@@ -286,7 +286,7 @@ void SearchBox::CheckIsUserSyncingHistory() {
void SearchBox::DeleteMostVisitedItem(
InstantRestrictedID most_visited_item_id) {
- instant_service_->SearchBoxDeleteMostVisitedItem(
+ instant_service_->DeleteMostVisitedItem(
page_seq_no_, GetURLForMostVisitedItem(most_visited_item_id));
}
@@ -330,12 +330,12 @@ void SearchBox::StopCapturingKeyStrokes() {
}
void SearchBox::UndoAllMostVisitedDeletions() {
- instant_service_->SearchBoxUndoAllMostVisitedDeletions(page_seq_no_);
+ instant_service_->UndoAllMostVisitedDeletions(page_seq_no_);
}
void SearchBox::UndoMostVisitedDeletion(
InstantRestrictedID most_visited_item_id) {
- instant_service_->SearchBoxUndoMostVisitedDeletion(
+ instant_service_->UndoMostVisitedDeletion(
page_seq_no_, GetURLForMostVisitedItem(most_visited_item_id));
}
« no previous file with comments | « chrome/renderer/searchbox/searchbox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698