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

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

Issue 12498002: InstantExtended: Adding InstantRestrictedIDCache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing android compile error. Created 7 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 | « chrome/browser/ui/search/instant_page.h ('k') | chrome/chrome_common.gypi » ('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 f87dc36a917860dbee80211fed97bc6d67976905..3b0c7da628d68d4827e5d51fb8116b82ea4fca6c 100644
--- a/chrome/browser/ui/search/instant_page.cc
+++ b/chrome/browser/ui/search/instant_page.cc
@@ -95,7 +95,7 @@ void InstantPage::KeyCaptureChanged(bool is_key_capture_enabled) {
}
void InstantPage::SendMostVisitedItems(
- const std::vector<InstantMostVisitedItem>& items) {
+ const std::vector<InstantMostVisitedItemIDPair>& items) {
Send(new ChromeViewMsg_SearchBoxMostVisitedItemsChanged(routing_id(), items));
}
@@ -269,12 +269,12 @@ void InstantPage::OnSearchBoxNavigate(int page_id,
}
}
-void InstantPage::OnDeleteMostVisitedItem(uint64 most_visited_item_id) {
- delegate_->DeleteMostVisitedItem(most_visited_item_id);
+void InstantPage::OnDeleteMostVisitedItem(InstantRestrictedID restricted_id) {
+ delegate_->DeleteMostVisitedItem(restricted_id);
}
-void InstantPage::OnUndoMostVisitedDeletion(uint64 most_visited_item_id) {
- delegate_->UndoMostVisitedDeletion(most_visited_item_id);
+void InstantPage::OnUndoMostVisitedDeletion(InstantRestrictedID restricted_id) {
+ delegate_->UndoMostVisitedDeletion(restricted_id);
}
void InstantPage::OnUndoAllMostVisitedDeletions() {
« no previous file with comments | « chrome/browser/ui/search/instant_page.h ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698