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

Unified Diff: chrome/browser/ui/search/instant_page.cc

Issue 14660022: Move most visited item state info from InstantController to InstantService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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/browser/ui/search/instant_page.h ('k') | chrome/browser/ui/search/instant_page_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_page.cc
diff --git a/chrome/browser/ui/search/instant_page.cc b/chrome/browser/ui/search/instant_page.cc
index 190b51f7bf7ac3cfefbfc334ede37dc7d82cbb94..a115f3b2be5e6b7ff94f33735cf6ab94a8c56343 100644
--- a/chrome/browser/ui/search/instant_page.cc
+++ b/chrome/browser/ui/search/instant_page.cc
@@ -291,12 +291,12 @@ void InstantPage::OnSearchBoxNavigate(int page_id,
}
}
-void InstantPage::OnDeleteMostVisitedItem(InstantRestrictedID restricted_id) {
- delegate_->DeleteMostVisitedItem(restricted_id);
+void InstantPage::OnDeleteMostVisitedItem(const GURL& url) {
+ delegate_->DeleteMostVisitedItem(url);
}
-void InstantPage::OnUndoMostVisitedDeletion(InstantRestrictedID restricted_id) {
- delegate_->UndoMostVisitedDeletion(restricted_id);
+void InstantPage::OnUndoMostVisitedDeletion(const GURL& url) {
+ delegate_->UndoMostVisitedDeletion(url);
}
void InstantPage::OnUndoAllMostVisitedDeletions() {
« no previous file with comments | « chrome/browser/ui/search/instant_page.h ('k') | chrome/browser/ui/search/instant_page_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698